Class ReplyTimeoutException
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
FieldsModifier and TypeFieldDescriptionstatic final intError code that identifies a reply timeout event. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newReplyTimeoutExceptioninstance.ReplyTimeoutException(String message) Constructs a newReplyTimeoutExceptionwith a message.ReplyTimeoutException(String message, String userMessage) Constructs a newReplyTimeoutExceptionwith a detail and user message.ReplyTimeoutException(String message, String userMessage, Throwable cause) Constructs a newReplyTimeoutExceptionwith a detail message, user message and cause.ReplyTimeoutException(String message, Throwable cause) Constructs a newReplyTimeoutExceptionwith a message and cause.ReplyTimeoutException(Throwable cause) Constructs a newReplyTimeoutExceptionwith a cause. -
Method Summary
Methods inherited from class ServiceException
getErrorCode, getUserMessage, throwOnErrorMethods inherited from class 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 newReplyTimeoutExceptioninstance. The user message is initialized tonull, and the error code is initialized toTIMEOUT. -
ReplyTimeoutException
-
ReplyTimeoutException
-
ReplyTimeoutException
-
ReplyTimeoutException
-
ReplyTimeoutException
Constructs a newReplyTimeoutExceptionwith 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.
-