Interpreter.Sexp.Utils
Class InterpreterException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--Interpreter.Sexp.Utils.InterpreterException

public class InterpreterException
extends java.lang.Exception

La classe InterpreterException gestisce le eccezioni relative all'interprete.

See Also:
Serialized Form

Field Summary
protected  java.lang.String comment
           
protected  Sexp source
           
 
Constructor Summary
InterpreterException(Sexp s)
          Costruisce una nuova InterpreterException.
InterpreterException(java.lang.String c)
          Costruisce una nuova InterpreterException.
InterpreterException(java.lang.String c, Sexp s)
          Costruisce una nuova InterpreterException.
 
Method Summary
 java.lang.String getComment()
          Restituisce il commento.
 Sexp getSource()
          Restituisce la sorgente della InterpreterException.
 java.lang.String toString()
          Restituisce la stringa rappresentativa dell'InterpreterException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

comment

protected java.lang.String comment

source

protected Sexp source
Constructor Detail

InterpreterException

public InterpreterException(java.lang.String c)
Costruisce una nuova InterpreterException.
Parameters:
c - commento;

InterpreterException

public InterpreterException(java.lang.String c,
                            Sexp s)
Costruisce una nuova InterpreterException.
Parameters:
c - commento;
s - sorgente della InterpreterException;

InterpreterException

public InterpreterException(Sexp s)
Costruisce una nuova InterpreterException.
Parameters:
s - sorgente della InterpreterException;
Method Detail

getComment

public java.lang.String getComment()
Restituisce il commento.
Returns:
la stringa rappresentativa del commento.

getSource

public Sexp getSource()
Restituisce la sorgente della InterpreterException.
Returns:
la sorgente della InterpreterException.

toString

public java.lang.String toString()
Restituisce la stringa rappresentativa dell'InterpreterException.
Tale stringa è composta da commento e sorgente dell'InterpreterException.
Returns:
la stringa rappresentativa dell'InterpreterException.
Overrides:
toString in class java.lang.Throwable


Codice realizzato da Francesco Geri & Marco Tamanti