org.alfresco.repo.action.scheduled
Class CompensatingActionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.alfresco.error.AlfrescoRuntimeException
                  extended by org.alfresco.repo.action.scheduled.CompensatingActionException
All Implemented Interfaces:
java.io.Serializable

public class CompensatingActionException
extends org.alfresco.error.AlfrescoRuntimeException

Error that triggers the execution of compensating actions. The required compensating actions are contained by the exception thrown.

See Also:
Serialized Form

Constructor Summary
CompensatingActionException(java.lang.String msgId)
           
CompensatingActionException(java.lang.String msgId, java.lang.Object[] msgParams)
           
CompensatingActionException(java.lang.String msgId, java.lang.Object[] msgParams, java.lang.Throwable cause)
           
CompensatingActionException(java.lang.String msgId, java.lang.Throwable cause)
           
CompensatingActionException(java.lang.String msgId, java.lang.Throwable cause, java.util.List compensatingActions)
           
 
Method Summary
 java.util.List getCompensatingActions()
          Get the compensationg actions
 
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, makeRuntimeException
 
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

CompensatingActionException

public CompensatingActionException(java.lang.String msgId)
Parameters:
msgId -

CompensatingActionException

public CompensatingActionException(java.lang.String msgId,
                                   java.lang.Throwable cause,
                                   java.util.List compensatingActions)
Parameters:
msgId -
cause -
compensatingActions -

CompensatingActionException

public CompensatingActionException(java.lang.String msgId,
                                   java.lang.Object[] msgParams)
Parameters:
msgId -
msgParams -

CompensatingActionException

public CompensatingActionException(java.lang.String msgId,
                                   java.lang.Throwable cause)
Parameters:
msgId -
cause -

CompensatingActionException

public CompensatingActionException(java.lang.String msgId,
                                   java.lang.Object[] msgParams,
                                   java.lang.Throwable cause)
Parameters:
msgId -
msgParams -
cause -
Method Detail

getCompensatingActions

public java.util.List getCompensatingActions()
Get the compensationg actions

Returns:
- the compensating actions


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.