Package org.apfloat

Class InfiniteExpansionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InfiniteExpansionException
    extends NumericComputationException
    Exception indicating that the result of an operation would have infinite size.

    For example, new Apfloat(2).divide(new Apfloat(3)), in radix 10.

    Since:
    1.5
    Version:
    1.14.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      InfiniteExpansionException()
      Constructs a new apfloat infinite expansion exception with an empty detail message.
      InfiniteExpansionException​(java.lang.String message)
      Constructs a new apfloat infinite expansion exception with the specified detail message.
      InfiniteExpansionException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new apfloat infinite expansion exception with the specified detail message and cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InfiniteExpansionException

        public InfiniteExpansionException()
        Constructs a new apfloat infinite expansion exception with an empty detail message.
      • InfiniteExpansionException

        public InfiniteExpansionException​(java.lang.String message)
        Constructs a new apfloat infinite expansion exception with the specified detail message.
        Parameters:
        message - The detail message.
      • InfiniteExpansionException

        public InfiniteExpansionException​(java.lang.String message,
                                          java.lang.Throwable cause)
        Constructs a new apfloat infinite expansion exception with the specified detail message and cause.
        Parameters:
        message - The detail message.
        cause - Originating cause of the exception.