edu.wpi.prc.server
Class EmptyQueueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Field Summary
private  java.lang.String message
           
static long serialVersionUID
           
 
Constructor Summary
EmptyQueueException()
          Default constructor.
EmptyQueueException(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

EmptyQueueException

public EmptyQueueException()
Default constructor.


EmptyQueueException

public EmptyQueueException(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.