org.jboss.remoting
Class RemoteRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.jboss.remoting.RemotingException
                  extended by org.jboss.remoting.RemoteRequestException
All Implemented Interfaces:
Serializable

public class RemoteRequestException
extends RemotingException

Remote request exception. Indicates that the request arrived at the remote side, but the handler could not be executed for some reason (for example, the request sent might not be of the correct type).

See Also:
Serialized Form

Constructor Summary
RemoteRequestException()
          Constructs a RemoteRequestException with no detail message.
RemoteRequestException(String msg)
          Constructs a RemoteRequestException with the specified detail message.
RemoteRequestException(String msg, Throwable cause)
          Constructs a RemoteRequestException with the specified detail message and cause.
RemoteRequestException(Throwable cause)
          Constructs a RemoteRequestException with the specified cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteRequestException

public RemoteRequestException()
Constructs a RemoteRequestException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.


RemoteRequestException

public RemoteRequestException(String msg)
Constructs a RemoteRequestException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters:
msg - the detail message

RemoteRequestException

public RemoteRequestException(Throwable cause)
Constructs a RemoteRequestException with the specified cause. The detail message is set to:
  (cause == null ? null : cause.toString())
(which typically contains the class and detail message of cause).

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)

RemoteRequestException

public RemoteRequestException(String msg,
                              Throwable cause)
Constructs a RemoteRequestException with the specified detail message and cause.

Parameters:
msg - the detail message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)


Copyright © 2008 JBoss, a division of Red Hat, Inc.