Class InfiniteExpansionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apfloat.ApfloatRuntimeException
org.apfloat.NumericComputationException
org.apfloat.InfiniteExpansionException
- All Implemented Interfaces:
Serializable, ApfloatLocalizedException
Exception indicating that the result of an operation
would have infinite size.
For example, new Apfloat(2).divide(new Apfloat(3)), in radix 10.
- Since:
- 1.5
- Version:
- 1.15.0
- Author:
- Mikko Tommila
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new apfloat infinite expansion exception with an empty detail message.InfiniteExpansionException(String message) Constructs a new apfloat infinite expansion exception with the specified detail message.InfiniteExpansionException(String message, String localizationKey, Object... localizationArgs) Constructs a new apfloat infinite expansion exception with the specified detail message and localization data.InfiniteExpansionException(String message, Throwable cause) Constructs a new apfloat infinite expansion exception with the specified detail message and cause.InfiniteExpansionException(String message, Throwable cause, String localizationKey, Object... localizationArgs) Constructs a new apfloat infinite expansion 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
-
InfiniteExpansionException
public InfiniteExpansionException()Constructs a new apfloat infinite expansion exception with an empty detail message. -
InfiniteExpansionException
Constructs a new apfloat infinite expansion exception with the specified detail message.- Parameters:
message- The detail message.
-
InfiniteExpansionException
-
InfiniteExpansionException
public InfiniteExpansionException(String message, String localizationKey, Object... localizationArgs) Constructs a new apfloat infinite expansion 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
-
InfiniteExpansionException
public InfiniteExpansionException(String message, Throwable cause, String localizationKey, Object... localizationArgs) Constructs a new apfloat infinite expansion 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
-