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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adobe.livecycle.rca.common.exception.ICRException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccessDeniedException, DocumentNotFoundException, DocumentProcessorException, DocumentUploadException, InvalidAuthKeyException, InvalidPathException, InvalidReviewContextException, InvalidReviewDocumentException, InvalidReviewTemplateException, PersistenceException, ReviewTemplateAlreadyExistsException, ReviewTemplateNotFoundException, ReviewZoneAlreadyExistException, ReviewZoneCreationException, ReviewZoneNotFoundException, SchedulingException, StageUpdateException, TaskAssignmentFailedException, TaskQueryException, TaskRevokeFailedException, UserNotFoundException

public class ICRException
extends Exception

Checked Exception meant to be thrown by all RCA APIs.

See Also:
Serialized Form

Constructor Summary
ICRException()
          Default constructor for ICRException
ICRException(ErrorCode errorCode, Object[] parameters)
          Creates exception object from given ErrorCode.
ICRException(ErrorCode errorCode, Throwable cause, Object[] parameters)
          Creates exception object from ICRError and Throwable
ICRException(String message)
           
ICRException(String message, Throwable cause)
           
ICRException(Throwable cause)
           
 
Method Summary
 ICRError getError()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ICRException

public ICRException()
Default constructor for ICRException


ICRException

public ICRException(String message,
                    Throwable cause)

ICRException

public ICRException(String message)

ICRException

public ICRException(Throwable cause)

ICRException

public ICRException(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

ICRException

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

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

getError

public ICRError getError()


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