Package org.springframework.remoting
Class RemoteTimeoutException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.remoting.RemoteAccessException
- org.springframework.remoting.RemoteTimeoutException
- All Implemented Interfaces:
Serializable
public class RemoteTimeoutException extends RemoteAccessException
RemoteAccessException subclass to be thrown when the execution of the target method did not complete before a configurable timeout, for example when a reply message was not received.- Since:
- 4.2
- Author:
- Stephane Nicoll
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description RemoteTimeoutException(String msg)
Constructor for RemoteTimeoutException.RemoteTimeoutException(String msg, Throwable cause)
Constructor for RemoteTimeoutException.
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
RemoteTimeoutException
public RemoteTimeoutException(String msg)
Constructor for RemoteTimeoutException.- Parameters:
msg
- the detail message
RemoteTimeoutException
public RemoteTimeoutException(String msg, Throwable cause)
Constructor for RemoteTimeoutException.- Parameters:
msg
- the detail messagecause
- the root cause from the remoting API in use