uoc.ei.tads
Class ExcepcioParametreIncorrecte

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by uoc.ei.tads.ExcepcioTADs
                  extended by uoc.ei.tads.ExcepcioParametreIncorrecte
All Implemented Interfaces:
java.io.Serializable

public class ExcepcioParametreIncorrecte
extends ExcepcioTADs

Classe que implementa l'excepció que es genera quan el constructor o qualsevol mètode d'una classe rep un paràmetre incorrecte que no estigui contemplat en altres excepcions. És una extensió de les excepcions en temps d'execució gestionades pel propi compilador.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
ExcepcioParametreIncorrecte()
          Constructor sense paràmetres.
ExcepcioParametreIncorrecte(java.lang.String missatge)
          Constructor amb un paràmetre.
 
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

ExcepcioParametreIncorrecte

public ExcepcioParametreIncorrecte()
Constructor sense paràmetres.


ExcepcioParametreIncorrecte

public ExcepcioParametreIncorrecte(java.lang.String missatge)
Constructor amb un paràmetre.

Parameters:
missatge - missatge amb l'error que ha generat l'excepció