|
||||||||||
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
biz.onixs.fix.fastnew.StaticErrorException
public class StaticErrorException
This class encapsulates the various error codes that were defined as Static errors in the FAST Specification.
Nested Class Summary | |
---|---|
static class |
StaticErrorException.Code
The valid error codes |
Field Summary | |
---|---|
protected StaticErrorException.Code |
code
The error code for this exception. |
Constructor Summary | |
---|---|
StaticErrorException(StaticErrorException.Code code)
A constructor for static errors that takes only an error code. |
|
StaticErrorException(StaticErrorException.Code code,
String message)
A constructor for static errors that takes an error code and a cause. |
|
StaticErrorException(StaticErrorException.Code code,
String message,
Throwable cause)
A constructor for static errors that takes and error code and a message. |
|
StaticErrorException(StaticErrorException.Code code,
Throwable cause)
A constructor for static errors that takes an error code, a message, and a 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 |
Field Detail |
---|
protected StaticErrorException.Code code
Constructor Detail |
---|
public StaticErrorException(StaticErrorException.Code code)
code
- the error code to throwpublic StaticErrorException(StaticErrorException.Code code, String message, Throwable cause)
code
- the error code to throwmessage
- a message describing the errorpublic StaticErrorException(StaticErrorException.Code code, String message)
code
- the error code to throwpublic StaticErrorException(StaticErrorException.Code code, Throwable cause)
code
- the error code to throwcause
- the originating cause of this error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |