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