public class ExceptionHandler
extends java.lang.Object
Constructor and Description |
---|
ExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
abort(java.lang.Exception e,
java.lang.String msg)
Terminates execution of the transformation process due to an error.
|
static void |
warn(java.lang.Exception e,
java.lang.String msg)
Prints warnings regarding issues raised during transformation.
|
public static void warn(java.lang.Exception e, java.lang.String msg)
e
- Exception raised in any stage of the transformation process.msg
- Message to be issued along with the warning.public static void abort(java.lang.Exception e, java.lang.String msg)
e
- Exception raised in any stage of the transformation process.msg
- Message to be issued along with the error.