Package org.apfloat

Class InfiniteExpansionException

  • All Implemented Interfaces:
    Serializable

    public class InfiniteExpansionException
    extends ApfloatRuntimeException
    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.5
    Author:
    Mikko Tommila
    See Also:
    Serialized Form
    • Constructor Detail

      • InfiniteExpansionException

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

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

        public InfiniteExpansionException​(String message,
                                          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.