ExecuteGlobalExceptionHandlerMethod
class ExecuteGlobalExceptionHandlerMethod(method: Method, context: VitalCommand.GlobalExceptionHandlerContext, cause: Throwable) : VitalCommandException
Internal exception; thrown when an exception occurs while a VitalCommand tries to execute a global exception handler function.
Properties
Functions
Link copied to clipboard
Extracts the first non-InvocationTargetException from the given Throwable. This function will be used during exception handling to extract the actual exception that occurred.