edu.wpi.prc.server
Class DuplicateTaskIDException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
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 |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
message
private java.lang.String message
DuplicateTaskIDException
public DuplicateTaskIDException()
- Default constructor.
DuplicateTaskIDException
public DuplicateTaskIDException(java.lang.String message)
- Constructor specifying an error message.
- Parameters:
message
- The error message.
toString
public java.lang.String toString()
- Returns a String representing this Exception.
- Overrides:
toString
in class java.lang.Throwable
- Returns:
- The error string.