Class ApfloatInternalException

  • All Implemented Interfaces:
    java.io.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
    See Also:
    Serialized Form
    • Field Summary

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

      Constructors 
      Constructor Description
      ApfloatInternalException()
      Constructs a new apfloat internal exception with an empty detail message.
      ApfloatInternalException​(java.lang.String message)
      Constructs a new apfloat internal exception with the specified detail message.
      ApfloatInternalException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new apfloat internal 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

      • ApfloatInternalException

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

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

        public ApfloatInternalException​(java.lang.String message,
                                        java.lang.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.