org.apache.oozie.client
Class OozieClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.oozie.client.OozieClientException
All Implemented Interfaces:
java.io.Serializable

public class OozieClientException
extends java.lang.Exception

Exception thrown by the OozieClient.

See Also:
Serialized Form

Field Summary
static java.lang.String AUTHENTICATION
           
static java.lang.String INVALID_FILTER
           
static java.lang.String INVALID_INPUT
           
static java.lang.String IO_ERROR
           
static java.lang.String OTHER
           
static java.lang.String UNSUPPORTED_VERSION
           
 
Constructor Summary
OozieClientException(java.lang.String errorCode, java.lang.String message)
          Create an exception.
OozieClientException(java.lang.String errorCode, java.lang.String message, java.lang.Throwable cause)
          Create an exception with a cause.
OozieClientException(java.lang.String errorCode, java.lang.Throwable cause)
          Create an exception with a cause.
 
Method Summary
 java.lang.String getErrorCode()
          Return the exception error code.
 java.lang.String toString()
          Return the string representatio of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSUPPORTED_VERSION

public static final java.lang.String UNSUPPORTED_VERSION
See Also:
Constant Field Values

IO_ERROR

public static final java.lang.String IO_ERROR
See Also:
Constant Field Values

INVALID_FILTER

public static final java.lang.String INVALID_FILTER
See Also:
Constant Field Values

INVALID_INPUT

public static final java.lang.String INVALID_INPUT
See Also:
Constant Field Values

OTHER

public static final java.lang.String OTHER
See Also:
Constant Field Values

AUTHENTICATION

public static final java.lang.String AUTHENTICATION
See Also:
Constant Field Values
Constructor Detail

OozieClientException

public OozieClientException(java.lang.String errorCode,
                            java.lang.String message)
Create an exception.

Parameters:
errorCode - error code.
message - error message.

OozieClientException

public OozieClientException(java.lang.String errorCode,
                            java.lang.Throwable cause)
Create an exception with a cause.

Parameters:
errorCode - error code.
cause - exception cause.

OozieClientException

public OozieClientException(java.lang.String errorCode,
                            java.lang.String message,
                            java.lang.Throwable cause)
Create an exception with a cause.

Parameters:
errorCode - error code.
message - error message.
cause - exception cause.
Method Detail

getErrorCode

public java.lang.String getErrorCode()
Return the exception error code.

Returns:
the exception error code.

toString

public java.lang.String toString()
Return the string representatio of the exception.

Overrides:
toString in class java.lang.Throwable
Returns:
the string representatio of the exception.


Copyright © 2010 Yahoo. All Rights Reserved.