Package org.apfloat
Class InfiniteExpansionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apfloat.ApfloatRuntimeException
-
- org.apfloat.InfiniteExpansionException
-
- All Implemented Interfaces:
Serializable
public class InfiniteExpansionException extends ApfloatRuntimeException
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.5
- Author:
- Mikko Tommila
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InfiniteExpansionException()
Constructs 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, Throwable cause)
Constructs a new apfloat infinite expansion 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 Detail
-
InfiniteExpansionException
public InfiniteExpansionException()
Constructs a new apfloat infinite expansion exception with an empty detail message.
-
InfiniteExpansionException
public InfiniteExpansionException(String message)
Constructs a new apfloat infinite expansion exception with the specified detail message.- Parameters:
message
- The detail message.
-
-