|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
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.bea.wcp.diameter.DiameterException
com.bea.wcp.diameter.MessageException
public class MessageException
Exception raised if an invalid Diameter message has been encountered.
Constructor Summary | |
---|---|
MessageException(ResultCode rc) Creates a new MessageException for the specified ResultCode and a default error message based on the result code. |
|
MessageException(ResultCode rc, java.lang.String msg) Creates a new MessageException for the specified ResultCode and error message. |
Method Summary | |
---|---|
Answer |
createAnswer(Request req) Creates a new Answer message for an invalid Request. |
ResultCode |
getResultCode() Returns the ResultCode indicating the error. |
static MessageException |
unableToComply(java.lang.String msg) Convenience method to return a new UNABLE_TO_COMPLY MessageException. |
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 |
Constructor Detail |
---|
public MessageException(ResultCode rc, java.lang.String msg)
rc
- the Diameter result codemsg
- the error messagepublic MessageException(ResultCode rc)
rc
- the Diameter result codeMethod Detail |
---|
public ResultCode getResultCode()
public Answer createAnswer(Request req)
req
- the Request that was invalidpublic static MessageException unableToComply(java.lang.String msg)
msg
- the error cause
|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |