Package org.apfloat.internal
Class ApfloatInternalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apfloat.ApfloatRuntimeException
-
- org.apfloat.internal.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.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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.
-
-