|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.rim.pushsdk.pap.unmarshal.BadMessageException
public class BadMessageException
If the PAP message was rejected by the PPG, this exception will be thrown with the details from the PAP
badmessage-response message.
| Constructor Summary | |
|---|---|
BadMessageException(BadMessageResponse badMessageResponse)
Constructs a BadMessageException with the given bad message response. |
|
BadMessageException(String message,
BadMessageResponse badMessageResponse)
Constructs a BadMessageException with the given error message and bad message response. |
|
| Method Summary | |
|---|---|
BadMessageResponse |
getBadMessageResponse()
Gets the bad message response associated with this exception. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BadMessageException(String message,
BadMessageResponse badMessageResponse)
BadMessageException with the given error message and bad message response.
message - an error messagebadMessageResponse - a bad message responsepublic BadMessageException(BadMessageResponse badMessageResponse)
BadMessageException with the given bad message response.
badMessageResponse - a bad message response| Method Detail |
|---|
public BadMessageResponse getBadMessageResponse()
public String toString()
String with all attributes in name = value format.
toString in class ThrowableString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||