Class ApfloatInternalException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    BackingStorageException, ImplementationMismatchException, RadixMismatchException, TransformLengthExceededException

    public class ApfloatInternalException
    extends ApfloatRuntimeException
    Exception indicating some unexpected apfloat implementation specific error situation. This exception can be thrown in different situations, for example:
    • Backing storage failure. For example, if a number is stored on disk, an IOException can be thrown in any of the disk operations, if e.g. a file can't be created, or if the disk is full.
    • Operands of some operation have different radixes.
    • Other internal limitation, e.g. the maximum transform length mathematically possible for the implementation, is exceeded.
    Since:
    1.5
    Version:
    1.5
    Author:
    Mikko Tommila
    See Also:
    Serialized Form
    • Constructor Detail

      • ApfloatInternalException

        public ApfloatInternalException()
        Constructs a new apfloat internal exception with an empty detail message.
      • ApfloatInternalException

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

        public ApfloatInternalException​(String message,
                                        Throwable cause)
        Constructs a new apfloat internal exception with the specified detail message and cause.
        Parameters:
        message - The detail message.
        cause - Originating cause of the exception.