es.iac.ing.codeso.action.client
Class ActionProxyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by es.iac.ing.codeso.action.client.ActionProxyException
All Implemented Interfaces:
java.io.Serializable

public class ActionProxyException
extends java.lang.Exception

An exception thrown when an operation on an action proxy fails.

Typically this might be for a number of reasons. For example, the link to the remote action may be down, or the request may have contained illegal parameters.

See Also:
Serialized Form

Constructor Summary
ActionProxyException(java.lang.String message)
          Constructs a new instance with a detail message but null cause.
ActionProxyException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new instance with a detail message and cause.
 
Method Summary
 java.lang.String toString()
           
 
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

ActionProxyException

public ActionProxyException(java.lang.String message)
Constructs a new instance with a detail message but null cause.

Parameters:
message - string describing the nature of the exception.

ActionProxyException

public ActionProxyException(java.lang.String message,
                            java.lang.Throwable cause)
Constructs a new instance with a detail message and cause.

Parameters:
message - string describing the nature of the exception.
cause - Throwable specifying the underlying cause of the exception. This parameter is optional and may be set to null if not required.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable