|
Oracle Corp. | ||||||||||
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
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)
public MessageException(ResultCode rc, java.lang.String msg)
Method Detail |
public Answer createAnswer(Request req)
req
- the Request that was invalid
public ResultCode getResultCode()
public static MessageException unableToComply(java.lang.String msg)
msg
- the error cause
|
Documentation is available at http://e-docs.bea.com/wlcp/wlss40/ Copyright 2008 Oracle Corp. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |