com.werken.blissed
Class DuplicateStateException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.werken.blissed.BlissedException
                    |
                    +--com.werken.blissed.DuplicateStateException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateStateException
extends BlissedException

Indicates an attempt to add a duplicate state to a process.

Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
protected DuplicateStateException(Process process, java.lang.String stateName)
          Contsruct.
 
Method Summary
 java.lang.String getMessage()
          Retrieve the error message.
 Process getProcess()
          Retrieve the process.
 java.lang.String getStateName()
          Retrieve the state name.
 
Methods inherited from class com.werken.blissed.BlissedException
getLocalizedMessage, getRootCause, hasRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateStateException

protected DuplicateStateException(Process process,
                                  java.lang.String stateName)
Contsruct.
Parameters:
process - The process.
stateName - The duplicate state name.
Method Detail

getProcess

public Process getProcess()
Retrieve the process.
Returns:
The process.

getStateName

public java.lang.String getStateName()
Retrieve the state name.
Returns:
The state name.

getMessage

public java.lang.String getMessage()
Retrieve the error message.
Overrides:
getMessage in class BlissedException
Returns:
The error message.


Copyright © 2002-2002 The Werken Company. All Rights Reserved.