org.apache.oozie
Class BaseEngineException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.oozie.XException
              extended by org.apache.oozie.BaseEngineException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BundleEngineException, CoordinatorEngineException, DagEngineException

public class BaseEngineException
extends XException

Exception thrown by the DagEngine.

See Also:
Serialized Form

Constructor Summary
BaseEngineException(ErrorCode errorCode, Object... params)
          Create an engine exception.
BaseEngineException(XException cause)
          Create an engine exception from a XException.
 
Method Summary
 
Methods inherited from class org.apache.oozie.XException
getErrorCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseEngineException

public BaseEngineException(XException cause)
Create an engine exception from a XException.

Parameters:
cause - the XException cause.

BaseEngineException

public BaseEngineException(ErrorCode errorCode,
                           Object... params)
Create an engine exception.

Parameters:
errorCode - error code.
params - parameters for the error code message template.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.