ExecuteGlobalExceptionHandlerMethod

Internal exception; thrown when an exception occurs while a VitalCommand tries to execute a global exception handler function.

Constructors

Link copied to clipboard
constructor(method: Method, context: VitalCommand.GlobalExceptionHandlerContext, cause: Throwable)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

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.