public class AbortionException extends RuntimeException
Listeners or ExceptionCallbacks to make the event dispatching explicitly fail with an
exception. All other kinds of exceptions will be swallowed by the
EventProvider.
Please note that the preferred way to abort the event delegation process is
to set the delegated Event's isHandled property to true.
This serves for a gracefully termination of the process without disturbing
the caller of the dispatch method with an Exception.
| Constructor and Description |
|---|
AbortionException()
Creates a new AbortionException
|
AbortionException(Exception cause)
Creates a new AbortionException with a cause
|
AbortionException(String message)
Creates a new AbortionException with a message.
|
AbortionException(String message,
Exception cause)
Creates a new AbortionException with message and a cause
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbortionException()
public AbortionException(String message)
message - The messagepublic AbortionException(String message, Exception cause)
message - The messagecause - The cause.public AbortionException(Exception cause)
cause - The cause.Copyright © 2014–2015. All rights reserved.