java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cl.netswitch.lib.server.ServerException
cl.netswitch.lib.server.ServiceException
cl.netswitch.lib.server.ReplyTimeoutException
- All Implemented Interfaces:
Serializable
Signals that a reply timeout event has occurred.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Error code that identifies a reply timeout event. -
Constructor Summary
ConstructorDescriptionConstructs a newReplyTimeoutException
instance.ReplyTimeoutException
(String message) Constructs a newReplyTimeoutException
with a message.ReplyTimeoutException
(String message, String userMessage) Constructs a newReplyTimeoutException
with a detail and user message.ReplyTimeoutException
(String message, String userMessage, Throwable cause) Constructs a newReplyTimeoutException
with a detail message, user message and cause.ReplyTimeoutException
(String message, Throwable cause) Constructs a newReplyTimeoutException
with a message and cause.ReplyTimeoutException
(Throwable cause) Constructs a newReplyTimeoutException
with a cause. -
Method Summary
Methods inherited from class cl.netswitch.lib.server.ServiceException
getErrorCode, getUserMessage, throwOnError
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
TIMEOUT
public static final int TIMEOUTError code that identifies a reply timeout event.- See Also:
-
-
Constructor Details
-
ReplyTimeoutException
public ReplyTimeoutException()Constructs a newReplyTimeoutException
instance. The user message is initialized tonull
, and the error code is initialized toTIMEOUT
. -
ReplyTimeoutException
Constructs a newReplyTimeoutException
with a message. The user message is initialized tonull
, and the error code is initialized toTIMEOUT
.- Parameters:
message
- the detail message.
-
ReplyTimeoutException
Constructs a newReplyTimeoutException
with a cause. The user message is initialized tonull
, and the error code is initialized toTIMEOUT
.- Parameters:
cause
- the cause of the exception.
-
ReplyTimeoutException
Constructs a newReplyTimeoutException
with a message and cause. The user message is initialized tonull
, and the error code is initialized toTIMEOUT
.- Parameters:
message
- the detail message.cause
- the cause of the exception.
-
ReplyTimeoutException
Constructs a newReplyTimeoutException
with a detail and user message. The error code is initialized toTIMEOUT
.- Parameters:
message
- the detail message.userMessage
- the user message.
-
ReplyTimeoutException
Constructs a newReplyTimeoutException
with a detail message, user message and cause. The error code is initialized toTIMEOUT
.- Parameters:
message
- the detail message.userMessage
- the user message.cause
- the cause of the exception.
-