|
|||||||||
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
public class ApfloatRuntimeException
Exception indicating some unexpected apfloat implementation specific error situation. This exception can be thrown in different situations, for example:
new Apfloat(2).divide(new Apfloat(3))
, in radix 10.long
,
the situation can't be handled. Also, there is no "infinity" apfloat
value that could be returned as the result.IOException
can be thrown in any of the disk operations,
if e.g. a file can't be created, or written to if the disk is full.
Constructor Summary | |
---|---|
ApfloatRuntimeException()
Constructs a new apfloat runtime exception with an empty detail message. |
|
ApfloatRuntimeException(String message)
Constructs a new apfloat runtime exception with the specified detail message. |
|
ApfloatRuntimeException(String message,
Throwable cause)
Constructs a new apfloat runtime 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 ApfloatRuntimeException()
public ApfloatRuntimeException(String message)
message
- The detail message.public ApfloatRuntimeException(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 |