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:
Serializable
- Direct Known Subclasses:
BackingStorageException
,ImplementationMismatchException
,RadixMismatchException
,TransformLengthExceededException
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new apfloat internal exception with an empty detail message.ApfloatInternalException
(String message) Constructs a new apfloat internal exception with the specified detail message.ApfloatInternalException
(String message, 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
-
Constructor Details
-
ApfloatInternalException
public ApfloatInternalException()Constructs a new apfloat internal exception with an empty detail message. -
ApfloatInternalException
Constructs a new apfloat internal exception with the specified detail message.- Parameters:
message
- The detail message.
-
ApfloatInternalException
-