flex.messaging
Class MessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by flex.messaging.LocalizedException
                  extended by flex.messaging.MessageException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataSyncException, PDFException

public class MessageException
extends LocalizedException

See Also:
Serialized Form

Constructor Summary
MessageException()
          Default constructor.
MessageException(flex.messaging.util.ResourceLoader loader)
          Constructor with ResourceLoader.
MessageException(String message)
          Constructor with a message.
MessageException(String message, Throwable t)
          Constructor with message and Throwable.
MessageException(Throwable t)
          Constructor with Throwable.
 
Method Summary
 flex.messaging.messages.ErrorMessage createErrorMessage()
          Creates an error message from the exception.
 String getCode()
          Returns the code of the exception.
 flex.messaging.messages.ErrorMessage getErrorMessage()
          Returns the error message of the exception.
 Map getExtendedData()
          Returns the extended data of the exception.
 void setCode(String code)
          Sets the code of the exception.
 void setErrorMessage(flex.messaging.messages.ErrorMessage errorMessage)
          Sets the error message of the exception.
 void setExtendedData(Map extendedData)
          Sets the extended data of the exception.
 
Methods inherited from class flex.messaging.LocalizedException
getDetails, getMessage, getNumber, getRootCause, setDetails, setDetails, setDetails, setDetails, setDetails, setDetails, setMessage, setMessage, setMessage, setMessage, setMessage, setMessage, setMessage, setMessage, setNumber, setRootCause, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageException

public MessageException()
Default constructor.


MessageException

public MessageException(flex.messaging.util.ResourceLoader loader)
Constructor with ResourceLoader.

Parameters:
loader -

MessageException

public MessageException(String message)
Constructor with a message.

Parameters:
message -

MessageException

public MessageException(String message,
                        Throwable t)
Constructor with message and Throwable.

Parameters:
message -
t -

MessageException

public MessageException(Throwable t)
Constructor with Throwable.

Parameters:
t -
Method Detail

getCode

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

Returns:
Code of the exception.

setCode

public void setCode(String code)
Sets the code of the exception.

Parameters:
code - Code of the exception.

getExtendedData

public Map getExtendedData()
Returns the extended data of the exception.

Returns:
The extended data of the exception.

setExtendedData

public void setExtendedData(Map extendedData)
Sets the extended data of the exception.

Parameters:
extendedData - The extended data of the exception.

getErrorMessage

public flex.messaging.messages.ErrorMessage getErrorMessage()
Returns the error message of the exception.

Returns:
The error message of the exception.

setErrorMessage

public void setErrorMessage(flex.messaging.messages.ErrorMessage errorMessage)
Sets the error message of the exception.

Parameters:
errorMessage - The error message of the exception.

createErrorMessage

public flex.messaging.messages.ErrorMessage createErrorMessage()
Creates an error message from the exception.

Returns:
The error message.


Copyright © 2007 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/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/MessageException.html