Package com.jk.core.exceptions
Class InvalidaNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jk.core.exceptions.JKException
com.jk.core.exceptions.InvalidaNameException
- All Implemented Interfaces:
Serializable
This class represents exception thrown when an invalid name is encountered.
This exception is a subclass of JKException
.
This class should be used to indicate situations where a name does not meet the expected criteria.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidaNameException
(String name) This method constructors anInvalidaNameException
that contains the invalid name value. -
Method Summary
Methods inherited from class com.jk.core.exceptions.JKException
isLogged, setLogged
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidaNameException
This method constructors anInvalidaNameException
that contains the invalid name value.- Parameters:
name
- Specifies the invalid name.
-
-
Method Details
-
getName
This method gets the invalid name value contained within this exception.- Returns:
- the invalid name value.
-