flex.messaging.io.amf.client.exceptions
Class ClientStatusException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by flex.messaging.io.amf.client.exceptions.ClientStatusException
All Implemented Interfaces:
Serializable

public class ClientStatusException
extends Exception

Client status exceptions are thrown by the AMF connection when a client side error is encountered such as when a connect or call attempt fails due to wrong url on the client.

See Also:
Serialized Form

Field Summary
static String AMF_CALL_FAILED_CODE
          Exception codes.
static String AMF_CONNECT_FAILED_CODE
           
 
Constructor Summary
ClientStatusException(String message, String code)
          Creates a client status exception with the supplied message and code.
ClientStatusException(Throwable t, String code)
          Creates a client status exception with the supplied throwable and code.
 
Method Summary
 String getCode()
          Returns the code 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
 

Field Detail

AMF_CALL_FAILED_CODE

public static final String AMF_CALL_FAILED_CODE
Exception codes.

See Also:
Constant Field Values

AMF_CONNECT_FAILED_CODE

public static final String AMF_CONNECT_FAILED_CODE
See Also:
Constant Field Values
Constructor Detail

ClientStatusException

public ClientStatusException(Throwable t,
                             String code)
Creates a client status exception with the supplied throwable and code.

Parameters:
t - The throwable instance used to create the exception.
code - The code of the exception.

ClientStatusException

public ClientStatusException(String message,
                             String code)
Creates a client status exception with the supplied message and code.

Parameters:
message - The message of the exception.
code - The code of the exception.
Method Detail

getCode

public String getCode()
Returns the code of the exception.

Returns:
The code of the exception.

toString

public String toString()
Returns a String representation of the exception.

Overrides:
toString in class Throwable
Returns:
A String that represents the exception.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

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/ClientStatusException.html