|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
flex.messaging.io.amf.client.exceptions.ServerStatusException
public class ServerStatusException
Server status exceptions are thrown by the AMF connection when a server-side error is encountered.
| Nested Class Summary | |
|---|---|
static class |
ServerStatusException.HttpResponseInfo
An inner class to represent the HTTP response associated with the exception. |
| Constructor Summary | |
|---|---|
ServerStatusException(String message,
Object data)
Creates a server status exception with the supplied message and data. |
|
ServerStatusException(String message,
Object data,
ServerStatusException.HttpResponseInfo httpResponseInfo)
Creates a server status exception with the supplied message, data, and HTTP response info object. |
|
| Method Summary | |
|---|---|
Object |
getData()
Returns the data of the exception. |
ServerStatusException.HttpResponseInfo |
getHttpResponseInfo()
Returns the HTTP response info of the exception. |
String |
toString()
Returns a String representation of the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServerStatusException(String message,
Object data)
message - The message of the exception.data - The data of the exception which is usually an AMF result or
status message.
public ServerStatusException(String message,
Object data,
ServerStatusException.HttpResponseInfo httpResponseInfo)
message - The message of the exception.data - The data of the exception which is usually an AMF result or
status message.httpResponseInfo - The HTTP response info object that represents
the HTTP response returned with the exception.| Method Detail |
|---|
public Object getData()
public ServerStatusException.HttpResponseInfo getHttpResponseInfo()
public String toString()
toString in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/amf/client/exceptions/ServerStatusException.html