|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apfloat.ApfloatRuntimeException
org.apfloat.OverflowException
public class OverflowException
Exception indicating an overflow in a calculation.
For example ApfloatMath.exp(new Apfloat(1e100))
.
If the exponent is too large to fit in a long
,
the situation can't be handled. Note that there is no
"infinity" apfloat value that could be returned as the result.
Constructor Summary | |
---|---|
OverflowException()
Constructs a new apfloat overflow exception with an empty detail message. |
|
OverflowException(String message)
Constructs a new apfloat overflow exception with the specified detail message. |
|
OverflowException(String message,
Throwable cause)
Constructs a new apfloat overflow exception with the specified detail message and cause. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OverflowException()
public OverflowException(String message)
message
- The detail message.public OverflowException(String message, Throwable cause)
message
- The detail message.cause
- Originating cause of the exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |