|
||||||||||
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.CoderException
public class CoderException
This class encapsulates the various error codes that were undefined in the FAST Specification, but are needed to handle errors in a uniform way within the encoder/decoder.
Nested Class Summary | |
---|---|
static class |
CoderException.Code
The valid error codes |
Field Summary | |
---|---|
protected CoderException.Code |
code
The error code for this exception. |
Constructor Summary | |
---|---|
CoderException(CoderException.Code code)
A constructor for undefined errors that takes only an error code. |
|
CoderException(CoderException.Code code,
String message)
A constructor for undefined errors that takes and error code and a message. |
|
CoderException(CoderException.Code code,
String message,
Throwable cause)
A constructor for undefined errors that takes an error code, a message, and a cause. |
|
CoderException(CoderException.Code code,
Throwable cause)
A constructor for undefined errors that takes an error code and a cause. |
Method Summary | |
---|---|
CoderException.Code |
getCode()
Returns the error code for this exception |
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 CoderException.Code code
Constructor Detail |
---|
public CoderException(CoderException.Code code)
code
- the error code to throwpublic CoderException(CoderException.Code code, String message)
code
- the error code to throwmessage
- a message describing the errorpublic CoderException(CoderException.Code code, Throwable cause)
code
- the error code to throwcause
- the originating cause of this errorpublic CoderException(CoderException.Code code, String message, Throwable cause)
code
- the error code to throwmessage
- a message describing the errorcause
- the originating cause of this errorMethod Detail |
---|
public CoderException.Code getCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |