Package mx.unam.ciencias.icc
Class ExcepcionLineaInvalida
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
mx.unam.ciencias.icc.ExcepcionLineaInvalida
- All Implemented Interfaces:
Serializable
Clase para excepciones de líneas inválidas.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor vacío.ExcepcionLineaInvalida
(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
-
ExcepcionLineaInvalida
public ExcepcionLineaInvalida()Constructor vacío. -
ExcepcionLineaInvalida
Constructor que recibe un mensaje para el usuario.- Parameters:
mensaje
- un mensaje que verá el usuario cuando ocurra la excepción.
-