Package com.globalmentor.model
Class CancelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.globalmentor.model.CancelException
-
- All Implemented Interfaces:
java.io.Serializable
public class CancelException extends java.lang.RuntimeException
Unchecked exception for indicating that some operation should be canceled.- Author:
- Garret Wilson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CancelException()
Constructs a new exception with no detail message.CancelException(java.lang.String message)
Constructs a new exception with the specified detail message.CancelException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.CancelException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())
.
-
-
-
Constructor Detail
-
CancelException
public CancelException()
Constructs a new exception with no detail message.
-
CancelException
public CancelException(java.lang.String message)
Constructs a new exception with the specified detail message.- Parameters:
message
- The detail message.
-
CancelException
public CancelException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method), ornull
if the cause is nonexistent or unknown.
-
CancelException
public CancelException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())
.- Parameters:
cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method), ornull
if the cause is nonexistent or unknown.
-
-