|
Sun Adapter for SAG API | |||||||||
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 com.stc.connector.appconn.common.ApplicationException com.stc.connector.sagadapter.exception.SAGApplicationException
public class SAGApplicationException
General exception class for the SAG (Swift Alliance Gateway) application.
Constructor Summary | |
---|---|
SAGApplicationException()
Creates a new instance of SAGApplicationException
without detail message. |
|
SAGApplicationException(java.lang.String msg)
Constructs an instance of SAGApplicationException
with the specified detail message. |
|
SAGApplicationException(java.lang.String msg,
java.lang.Exception e)
Constructs an instance of SAGApplicationException
with the specified detail message and a nested exception. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Retrieves the error message associated with this exception |
void |
persist(DataOutput dos)
Persists (serialize) this message. |
void |
restore(DataInput dis)
Restore (deserialize) this message. |
void |
setMessage(java.lang.String message)
Sets the error message associated with this exception |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SAGApplicationException()
SAGApplicationException
without detail message.
public SAGApplicationException(java.lang.String msg)
SAGApplicationException
with the specified detail message.
msg
- the detail message.public SAGApplicationException(java.lang.String msg, java.lang.Exception e)
SAGApplicationException
with the specified detail message and a nested exception.
msg
- the detail message.e
- the nested exceptionMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void setMessage(java.lang.String message)
message
- the error messagepublic void persist(DataOutput dos) throws java.lang.Exception
dos
- The DataOutputStream to which the Java Bean
message is persisted.
java.lang.Exception
- upon error.public void restore(DataInput dis) throws java.lang.Exception
dis
- The DataInputStream from which the Java Bean
message is restored.
java.lang.Exception
- upon error.
|
Sun Adapter for SAG API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |