public class IllegalNameException
extends java.lang.Exception
Constructor and Description |
---|
IllegalNameException(java.lang.String errorMessage)
Construct an instance of IllegalNameException
with the given message.
|
IllegalNameException(java.lang.String errorMessage,
java.lang.Throwable cause)
Construct an instance to wrap other exceptions.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause()
Return the underlying cause for the exception.
|
public IllegalNameException(java.lang.String errorMessage)
errorMessage
- Exception message.public IllegalNameException(java.lang.String errorMessage, java.lang.Throwable cause)
errorMessage
- The exception message.cause
- The underlying cause for the exception.