|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--com.ibm.etill.framework.log.ETillRuntimeException | +--com.ibm.etill.framework.log.ETillCassetteException
Throwing ETillCassetteException causes the cassette to shut down. Cassettes may throw this exception in extreme, unrecoverable situations.
Fields inherited from class com.ibm.etill.framework.log.ETillRuntimeException |
---|
RE_CASSETTE_ERROR, RE_FRAMEWORK_ERROR, RE_INIT_ERROR, RE_RUNTIME_ERROR |
Constructor Summary | |
---|---|
ETillCassetteException()
Constructs an ETillCassetteException. |
|
ETillCassetteException(Cassette aCassette)
Constructs an ETillCassetteException for the specified Cassette object. |
|
ETillCassetteException(int code)
Constructs an ETillCassetteException with the specified secondary error code. |
|
ETillCassetteException(int code,
Cassette aCassette)
Constructs an ETillCassetteException with the specified secondary error code for the specified Cassette object. |
|
ETillCassetteException(String message)
Constructs an ETillCassetteException with text to be displayed at the console. |
|
ETillCassetteException(String message,
Cassette aCassette)
Constructs an ETillCassetteException with text to be displayed at the console for the specified Cassette object. |
|
ETillCassetteException(String message,
int code)
Constructs an ETillCassetteException with the specified text and secondary error code. |
|
ETillCassetteException(String message,
int code,
Cassette aCassette)
Constructs an ETillCassetteException with the specified text and secondary error code for the specified Cassette object. |
Method Summary | |
---|---|
Cassette |
getCassette()
Returns the Cassette object for the cassette that's thrown this exception. |
int |
getPrimaryErrorCode()
Returns the system termination code representing this exception. |
Methods inherited from class com.ibm.etill.framework.log.ETillRuntimeException |
---|
getSecondaryErrorCode |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ETillCassetteException(String message)
message
- a String containing the text to display.public ETillCassetteException(String message, Cassette aCassette)
message
- a String containing the text to display.aCassette
- the Cassette object for the cassette which experienced
the error.public ETillCassetteException(int code)
code
- an int containing the secondary error code.public ETillCassetteException(int code, Cassette aCassette)
code
- an int containing the secondary error code.aCassette
- the Cassette object for the cassette which experienced
the error.public ETillCassetteException()
public ETillCassetteException(Cassette aCassette)
aCassette
- the Cassette object for the cassette which experienced
the error.public ETillCassetteException(String message, int code)
message
- a String containing the text to display.code
- an int containing the secondary error code.public ETillCassetteException(String message, int code, Cassette aCassette)
message
- a String containing the text to display.code
- an int containing the secondary error code.aCassette
- the Cassette object for the cassette which experienced
the error.Method Detail |
public int getPrimaryErrorCode()
getPrimaryErrorCode
in class ETillRuntimeException
public Cassette getCassette()
getCassette
in class ETillRuntimeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |