Package org.apfloat
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:
java.io.Serializable
public class InfiniteExpansionException extends NumericComputationException
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.14.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InfiniteExpansionException()
Constructs a new apfloat infinite expansion exception with an empty detail message.InfiniteExpansionException(java.lang.String message)
Constructs a new apfloat infinite expansion exception with the specified detail message.InfiniteExpansionException(java.lang.String message, java.lang.Throwable cause)
Constructs a new apfloat infinite expansion exception with the specified detail message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InfiniteExpansionException
public InfiniteExpansionException()
Constructs a new apfloat infinite expansion exception with an empty detail message.
-
InfiniteExpansionException
public InfiniteExpansionException(java.lang.String message)
Constructs a new apfloat infinite expansion exception with the specified detail message.- Parameters:
message
- The detail message.
-
InfiniteExpansionException
public InfiniteExpansionException(java.lang.String message, java.lang.Throwable cause)
Constructs a new apfloat infinite expansion exception with the specified detail message and cause.- Parameters:
message
- The detail message.cause
- Originating cause of the exception.
-
-