|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.opensourcephysics.numerics.NumericMethodException
public final class NumericMethodException
Indicates that an error occured in a numeric method.
Field Summary | |
---|---|
int |
error_code
Field error_code sotes an optional error code |
double |
error_value
Field error_value stores an optional numeric error. |
Constructor Summary | |
---|---|
NumericMethodException()
Constructs a RuntimeException with no detail message. |
|
NumericMethodException(java.lang.String msg)
Constructs a RuntimeException with the specified
detail message. |
|
NumericMethodException(java.lang.String msg,
int code,
double val)
Constructs a RuntimeException with the specified
detail message, error code, and error estimate. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the error message string of this throwable object. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double error_value
public int error_code
Constructor Detail |
---|
public NumericMethodException()
RuntimeException
with no detail message.
public NumericMethodException(java.lang.String msg)
RuntimeException
with the specified
detail message.
msg
- the detail message.public NumericMethodException(java.lang.String msg, int code, double val)
RuntimeException
with the specified
detail message, error code, and error estimate.
msg
- code
- val
- Method Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |