org.kuali.rice.kew.exception
Class WorkflowServiceErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kuali.rice.kew.exception.WorkflowServiceErrorException
All Implemented Interfaces:
Serializable

public class WorkflowServiceErrorException
extends RuntimeException

RuntimeException thrown from Service level classes when business rule validation fails. This exception is caught by StrutsExceptionHandler. If any service errors have been set on in the serviceErrors collection these are stripped off of the exception put into ActionMessages in the Error que and the request is directed back to the original ActionMapping input page.

See Also:
Serialized Form

Constructor Summary
WorkflowServiceErrorException(String message)
           
WorkflowServiceErrorException(String msg, Collection errors)
           
WorkflowServiceErrorException(String message, Throwable throwable)
           
WorkflowServiceErrorException(String msg, Throwable t, WorkflowServiceError error)
           
WorkflowServiceErrorException(String msg, WorkflowServiceError error)
           
 
Method Summary
 Collection getServiceErrors()
           
 void setServiceErrors(Collection serviceErrors)
           
 String toString()
           
 
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
 

Constructor Detail

WorkflowServiceErrorException

public WorkflowServiceErrorException(String message)

WorkflowServiceErrorException

public WorkflowServiceErrorException(String message,
                                     Throwable throwable)

WorkflowServiceErrorException

public WorkflowServiceErrorException(String msg,
                                     WorkflowServiceError error)

WorkflowServiceErrorException

public WorkflowServiceErrorException(String msg,
                                     Throwable t,
                                     WorkflowServiceError error)

WorkflowServiceErrorException

public WorkflowServiceErrorException(String msg,
                                     Collection errors)
Method Detail

getServiceErrors

public Collection getServiceErrors()

setServiceErrors

public void setServiceErrors(Collection serviceErrors)

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.