Package mx.unam.ciencias.edd
Class ExcepcionIndiceInvalido
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
mx.unam.ciencias.edd.ExcepcionIndiceInvalido
- All Implemented Interfaces:
Serializable
Clase para excepciones de índices de lista inválidos.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor vacío.ExcepcionIndiceInvalido
(String mensaje) Constructor que recibe un mensaje para el usuario. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExcepcionIndiceInvalido
public ExcepcionIndiceInvalido()Constructor vacío. -
ExcepcionIndiceInvalido
Constructor que recibe un mensaje para el usuario.- Parameters:
mensaje
- un mensaje que verá el usuario cuando ocurra la excepción.
-