com.adobe.livecycle.rca.common.exception
Class RCAException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adobe.idp.dsc.DSCException
              extended by com.adobe.livecycle.rca.common.exception.RCAException
All Implemented Interfaces:
Serializable

public class RCAException
extends com.adobe.idp.dsc.DSCException

Checked Exception meant to be thrown by all RCA APIs.

See Also:
Serialized Form

Constructor Summary
RCAException()
          Default constructor for RCAException
RCAException(ErrorCode errorCode, Object[] parameters)
          Creates exception object from given ErrorCode.
RCAException(ErrorCode errorCode, Throwable cause, Object[] parameters)
          Creates exception object from RCAError and Throwable
RCAException(String message)
           
RCAException(String message, Throwable throwable)
           
RCAException(Throwable throwable)
           
 
Method Summary
 int getErrorCode()
           
static RCAException getInstance(ICRException icrException)
           
 
Methods inherited from class com.adobe.idp.dsc.DSCException
getError, getMessage, getNestedThrowable, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RCAException

public RCAException()
Default constructor for RCAException


RCAException

public RCAException(String message,
                    Throwable throwable)

RCAException

public RCAException(String message)

RCAException

public RCAException(Throwable throwable)

RCAException

public RCAException(ErrorCode errorCode,
                    Object[] parameters)
Creates exception object from given ErrorCode.

Parameters:
errorCode - ErrorCode representing the error
parameters - string parameters to be inserted in error message

RCAException

public RCAException(ErrorCode errorCode,
                    Throwable cause,
                    Object[] parameters)
Creates exception object from RCAError and Throwable

Parameters:
error - RCAError object
cause - root cause of the exception
parameters - string parameters to be inserted in error message
Method Detail

getInstance

public static RCAException getInstance(ICRException icrException)

getErrorCode

public int getErrorCode()


[an error occurred while processing this directive] [an error occurred while processing this directive]