ExecuteArgExceptionHandlerMethod
class ExecuteArgExceptionHandlerMethod(method: Method, context: VitalCommand.ArgExceptionHandlerContext, cause: Throwable) : VitalCommandException
Internal exception; thrown when an exception occurs while a VitalCommand tries to execute an arg 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.