public class CommandExecutionException extends HandlerExecutionException
writableStackTrace
parameter.Constructor and Description |
---|
CommandExecutionException(String message,
Throwable cause)
Initializes the exception with given
message and cause . |
CommandExecutionException(String message,
Throwable cause,
Object details)
Initializes the exception with given
message , cause and an object providing application-specific
details . |
CommandExecutionException(String message,
Throwable cause,
Object details,
boolean writableStackTrace)
Initializes the exception with given
message , cause , an object providing application-specific
details , and writableStackTrace |
getDetails, resolveDetails
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CommandExecutionException(String message, Throwable cause)
message
and cause
.message
- The message describing the exceptioncause
- The cause of the exceptionpublic CommandExecutionException(String message, Throwable cause, Object details)
message
, cause
and an object providing application-specific
details
.message
- The message describing the exceptioncause
- The cause of the exceptiondetails
- An object providing more error details (may be null
)public CommandExecutionException(String message, Throwable cause, Object details, boolean writableStackTrace)
message
, cause
, an object providing application-specific
details
, and writableStackTrace
message
- The message describing the exceptioncause
- The cause of the exceptiondetails
- An object providing more error details (may be null
)writableStackTrace
- Whether the stack trace should be generated (true
) or not (false
)Copyright © 2010–2023. All rights reserved.