Package overit.geocall.util
Class CancelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
overit.geocall.util.CancelException
- All Implemented Interfaces:
Serializable
The class represents an exception that occurs during the execution of the application, when it is canceled some operation,
and that can register the point and the reason of the cancelation
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCancelException(String msg, String point, String reason, Exception e) Creates the exception with the specified detail message and cause, and registers the point and the reason of the interruption of the operation -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
_point
-
_reason
-
-
Constructor Details
-
CancelException
Creates the exception with the specified detail message and cause, and registers the point and the reason of the interruption of the operation- Parameters:
msg- The message of the exceptionpoint- The string that contains the description of the point of the execution in which the operation was interruptedreason- The string that contain the reason of the interruption of the operatione- The cause of the exception
-
-
Method Details
-
getPoint
Returns the point of the execution in which the operation was interrupted when the exception raised- Returns:
- The string that contains the description of the point of the execution in which the operation was interrupted
-
getReason
Returns the reason of the interruption of the operation, that has caused the raise of the exception- Returns:
- The string that contain the reason of the interruption of the operation
-