edu.wpi.prc.server
Class EmptyQueueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.wpi.prc.server.EmptyQueueException
- All Implemented Interfaces:
- java.io.Serializable
public class EmptyQueueException
- extends java.lang.Exception
This Exception is thrown when an attempt is made to
get or remove an object from an empty queue.
- 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
EmptyQueueException
public EmptyQueueException()
- Default constructor.
EmptyQueueException
public EmptyQueueException(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.