public class AbortException extends RuntimeException
When this exception is caught, only the exception message is rendered and not its stack trace. This is useful for "expected" problems where you do error checks on what the user did, and when the user can correct the problem without knowing where the problem came from.
This is NOT for the situation where the error is due to some underlying failure or a failure in the external system. In such case, use other exception types so that the CLI will report the stack trace. Often those errors cannot be diagnosed by the user himself, and the support staff needs to see the stack trace to understand the structure of the problem.
| Constructor and Description |
|---|
AbortException() |
AbortException(String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbortException()
public AbortException(String message)
Copyright © 2011-2013. All Rights Reserved.