org.apache.oozie.command
Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.oozie.XException
org.apache.oozie.command.CommandException
- All Implemented Interfaces:
- Serializable
public class CommandException
- extends XException
Exception thrown by Command
s.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CommandException
public CommandException(XException cause)
- Create an dag command exception from a XException.
- Parameters:
cause
- the XException cause.
CommandException
public CommandException(ErrorCode errorCode,
Object... params)
- Create a dag command exception.
- Parameters:
errorCode
- error code.params
- parameters for the error code message template.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.