public class CommandException extends XException
XCommand
s.Constructor and Description |
---|
CommandException(ErrorCode errorCode,
Object... params)
Create a dag command exception.
|
CommandException(XException cause)
Create an dag command exception from a XException.
|
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CommandException(XException cause)
cause
- the XException cause.public CommandException(ErrorCode errorCode, Object... params)
errorCode
- error code.params
- parameters for the error code message template.Copyright © 2018 Apache Software Foundation. All rights reserved.