public class CommandException extends XException
XCommands.| Constructor and Description | 
|---|
CommandException(ErrorCode errorCode,
                                Object... params)
Create a dag command exception. 
 | 
CommandException(XException cause)
Create an dag command exception from a XException. 
 | 
getErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 © 2016 Apache Software Foundation. All rights reserved.