Class TransformLengthExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apfloat.ApfloatRuntimeException
org.apfloat.internal.ApfloatInternalException
org.apfloat.internal.TransformLengthExceededException
- All Implemented Interfaces:
Serializable, ApfloatLocalizedException
Exception indicating that the "size" of the numbers used in a
multiplication is too large. The "size" is equivalent to the number
of significant digits in the mantissa of the number, excluding any
leading or trailing zeros.
This exception indicates a mathematical limitation. The exact maximum transform length depends on the apfloat implementation.
- Since:
- 1.5
- Version:
- 1.15.0
- Author:
- Mikko Tommila
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new apfloat transform length exceeded exception with an empty detail message.TransformLengthExceededException(String message) Constructs a new apfloat transform length exceeded exception with the specified detail message.TransformLengthExceededException(String message, String localizationKey, Object... localizationArgs) Constructs a new apfloat transform length exceeded exception with the specified detail message and localization data.TransformLengthExceededException(String message, Throwable cause) Constructs a new apfloat transform length exceeded exception with the specified detail message and cause.TransformLengthExceededException(String message, Throwable cause, String localizationKey, Object... localizationArgs) Constructs a new apfloat transform length exceeded exception with the specified detail message, cause and localization data. -
Method Summary
Methods inherited from class ApfloatRuntimeException
getLocalizationArgs, getLocalizationKey, getLocalizedMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ApfloatLocalizedException
getMessage
-
Constructor Details
-
TransformLengthExceededException
public TransformLengthExceededException()Constructs a new apfloat transform length exceeded exception with an empty detail message. -
TransformLengthExceededException
Constructs a new apfloat transform length exceeded exception with the specified detail message.- Parameters:
message- The detail message.
-
TransformLengthExceededException
-
TransformLengthExceededException
public TransformLengthExceededException(String message, String localizationKey, Object... localizationArgs) Constructs a new apfloat transform length exceeded exception with the specified detail message and localization data.- Parameters:
message- The detail message.localizationKey- The localization key.localizationArgs- The localization arguments.- Since:
- 1.15.0
-
TransformLengthExceededException
public TransformLengthExceededException(String message, Throwable cause, String localizationKey, Object... localizationArgs) Constructs a new apfloat transform length exceeded exception with the specified detail message, cause and localization data.- Parameters:
message- The detail message.cause- Originating cause of the exception.localizationKey- The localization key.localizationArgs- The localization arguments.- Since:
- 1.15.0
-