edu.wpi.prc.server
Class DuplicateTaskIDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.wpi.prc.server.DuplicateTaskIDException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateTaskIDException
extends java.lang.Exception

The DuplicateTaskIDException is thrown when an attempt is made to add a work unit to the database/transitioner, but the requested task ID is already in use by another task.

Author:
James Baldassari
See Also:
Serialized Form

Field Summary
private  java.lang.String message
           
static long serialVersionUID
           
 
Constructor Summary
DuplicateTaskIDException()
          Default constructor.
DuplicateTaskIDException(java.lang.String message)
          Constructor specifying an error message.
 
Method Summary
 java.lang.String toString()
          Returns a String representing this Exception.
 
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
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

message

private java.lang.String message
Constructor Detail

DuplicateTaskIDException

public DuplicateTaskIDException()
Default constructor.


DuplicateTaskIDException

public DuplicateTaskIDException(java.lang.String message)
Constructor specifying an error message.

Parameters:
message - The error message.
Method Detail

toString

public java.lang.String toString()
Returns a String representing this Exception.

Overrides:
toString in class java.lang.Throwable
Returns:
The error string.