lab2.Exceptions
Class EmptyStackException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--lab2.Exceptions.EmptyStackException
All Implemented Interfaces:
java.io.Serializable

public class EmptyStackException
extends java.lang.RuntimeException

Classe eccezione per pila vuota.

See Also:
Serialized Form

Constructor Summary
EmptyStackException()
          Costruttore dell'eccezione senza messaggi.
EmptyStackException(java.lang.String msg)
          Costruttore dell'eccezione con messaggio visibile successivamente mediante il metodo getMessage.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyStackException

public EmptyStackException()
Costruttore dell'eccezione senza messaggi.

EmptyStackException

public EmptyStackException(java.lang.String msg)
Costruttore dell'eccezione con messaggio visibile successivamente mediante il metodo getMessage.
Parameters:
msg - il messaggio di errore.