it.amattioli.workstate.exceptions
Class WorkflowException

Show UML class diagram
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by it.amattioli.workstate.exceptions.WorkflowException
All Implemented Interfaces:
KeyedException, MultiException, Serializable

public class WorkflowException
extends Exception
implements KeyedException, MultiException

See Also:
Serialized Form

Constructor Summary
WorkflowException(String tag, KeyedMessage keyedMessage)
           
WorkflowException(String tag, KeyedMessage keyedMessage, Throwable cause)
           
WorkflowException(String tag, String message)
           
WorkflowException(String tag, String message, Throwable cause)
           
WorkflowException(String tag, Throwable cause)
           
 
Method Summary
 void addCause(Throwable cause)
           
 void addParameter(String tag, String value)
           
 boolean equals(Object o)
           
 Collection<Throwable> getCauses()
           
 KeyedMessage getKeyedMessage()
           
 String getTag()
           
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowException

public WorkflowException(String tag,
                         String message)

WorkflowException

public WorkflowException(String tag,
                         Throwable cause)

WorkflowException

public WorkflowException(String tag,
                         String message,
                         Throwable cause)

WorkflowException

public WorkflowException(String tag,
                         KeyedMessage keyedMessage)

WorkflowException

public WorkflowException(String tag,
                         KeyedMessage keyedMessage,
                         Throwable cause)
Method Detail

getTag

public String getTag()

getKeyedMessage

public KeyedMessage getKeyedMessage()
Specified by:
getKeyedMessage in interface KeyedException

addParameter

public void addParameter(String tag,
                         String value)
Specified by:
addParameter in interface KeyedException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

addCause

public void addCause(Throwable cause)
Specified by:
addCause in interface MultiException

getCauses

public Collection<Throwable> getCauses()
Specified by:
getCauses in interface MultiException


Copyright © 2011. All Rights Reserved.