Package org.jboss.remoting3
Class RemotingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.jboss.remoting3.RemotingException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChannelBusyException
,ChannelClosedException
,MessageCancelledException
,ProtocolException
,ServiceOpenException
,ServiceRegistrationException
,UnknownURISchemeException
public abstract class RemotingException extends IOException
A general Remoting exception. Used as a base class in order to provide constructors which accept any combination ofcause
andmessage
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RemotingException()
Constructs a RemotingException with no detail message.protected
RemotingException(String msg)
Constructs a RemotingException with the specified detail message.protected
RemotingException(String msg, Throwable cause)
Constructs a RemotingException with the specified detail message and cause.protected
RemotingException(Throwable cause)
Constructs a RemotingException with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RemotingException
protected RemotingException()
Constructs a RemotingException with no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause
.
-
RemotingException
protected RemotingException(String msg)
Constructs a RemotingException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause
.- Parameters:
msg
- the detail message
-
RemotingException
protected RemotingException(Throwable cause)
Constructs a RemotingException 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 theThrowable.getCause()
method)
-
RemotingException
protected RemotingException(String msg, Throwable cause)
Constructs a RemotingException with the specified detail message and cause.- Parameters:
msg
- the detail messagecause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method)
-
-