org.apache.oozie.executor.jpa
Class JPAExecutorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.oozie.XException
              extended by org.apache.oozie.executor.jpa.JPAExecutorException
All Implemented Interfaces:
Serializable

public class JPAExecutorException
extends XException

Exception thrown by JPAExecutors.

See Also:
Serialized Form

Constructor Summary
JPAExecutorException(ErrorCode errorCode, Object... params)
          Create an jpa executor exception.
JPAExecutorException(XException cause)
          Create an jpa executor 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

JPAExecutorException

public JPAExecutorException(XException cause)
Create an jpa executor exception from a XException.

Parameters:
cause - the XException cause.

JPAExecutorException

public JPAExecutorException(ErrorCode errorCode,
                            Object... params)
Create an jpa executor exception.

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


Copyright © 2012 Apache Software Foundation. All Rights Reserved.