assignment
This commit is contained in:
17
assignments/AssigmentS6/EmptyQueueException.java
Normal file
17
assignments/AssigmentS6/EmptyQueueException.java
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
A class of runtime exceptions thrown when an attempt is made to access
|
||||
or remove the front of a queue
|
||||
@author Hyunryung Kim
|
||||
*/
|
||||
public class EmptyQueueException extends RuntimeException
|
||||
{
|
||||
public EmptyQueueException()
|
||||
{
|
||||
this(null);
|
||||
} // end default constructor
|
||||
|
||||
public EmptyQueueException(String message)
|
||||
{
|
||||
super(message);
|
||||
} // end constructor
|
||||
} // end EmptyQueueException
|
||||
Reference in New Issue
Block a user