Spring for Apache Hadoop

org.springframework.yarn
Class YarnSystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.NonTransientDataAccessException
                          extended by org.springframework.dao.UncategorizedDataAccessException
                              extended by org.springframework.yarn.YarnSystemException
All Implemented Interfaces:
java.io.Serializable

public class YarnSystemException
extends org.springframework.dao.UncategorizedDataAccessException

General exception indicating a problem in components interacting with yarn. Main point of wrapping native yarn exceptions inside this is to have common Spring dao exception hierarchy.

Author:
Janne Valkealahti
See Also:
Serialized Form

Constructor Summary
YarnSystemException(java.io.IOException e)
          Constructs YarnSystemException from RemoteException.
YarnSystemException(java.lang.String message, java.lang.Exception e)
          Constructs a general YarnSystemException.
YarnSystemException(org.apache.hadoop.yarn.exceptions.YarnException e)
          Constructs YarnSystemException from YarnException.
YarnSystemException(org.apache.hadoop.yarn.exceptions.YarnRuntimeException e)
          Constructs YarnSystemException from YarnRuntimeException.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

YarnSystemException

public YarnSystemException(org.apache.hadoop.yarn.exceptions.YarnException e)
Constructs YarnSystemException from YarnException.

Parameters:
e - the YarnException

YarnSystemException

public YarnSystemException(org.apache.hadoop.yarn.exceptions.YarnRuntimeException e)
Constructs YarnSystemException from YarnRuntimeException.

Parameters:
e - the YarnRuntimeException

YarnSystemException

public YarnSystemException(java.io.IOException e)
Constructs YarnSystemException from RemoteException.

Parameters:
e - the RemoteException

YarnSystemException

public YarnSystemException(java.lang.String message,
                           java.lang.Exception e)
Constructs a general YarnSystemException.

Parameters:
message - the message
e - the exception

Spring for Apache Hadoop