ca.bcit.cst.comp2526.assign2b.solution
Class StackUnderflowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.bcit.cst.comp2526.assign2b.solution.StackUnderflowException
All Implemented Interfaces:
java.io.Serializable

public class StackUnderflowException
extends java.lang.Exception

Thrown when a value is poped or looked at a stack but the stack is empty.

See Also:
Stack.pop(), Stack.topValue(), Serialized Form

Constructor Summary
StackUnderflowException(java.lang.String msg)
          Constructs an StackUnderflowException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackUnderflowException

public StackUnderflowException(java.lang.String msg)
Constructs an StackUnderflowException with the specified detail message.

Parameters:
msg - the detail message