public interface ExceptionHandler
Modifier and Type | Method and Description |
---|---|
default void |
handle(Exception e)
Handles an exception
|
void |
handle(String message,
Exception cause)
Handles an exception with a supplementary message
|
boolean |
shouldTerminateOn(Class<? extends Exception> exceptionType)
Gets whether an exception of the specified class would cause the ToolKit's Maven plugin to terminate.
|
default void handle(Exception e)
e
- Exception
instancevoid handle(String message, Exception cause)
message
- String
valuecause
- Exception
instanceboolean shouldTerminateOn(Class<? extends Exception> exceptionType)
exceptionType
- Class of Exception
to test onCopyright © 2024 Exadel, Inc.. All rights reserved.