public class ModelAlreadyExistException
extends java.lang.Exception
| Constructor and Description |
|---|
ModelAlreadyExistException(java.lang.String errorMessage)
Construct an instance of ModelAlreadyExistException
with the given message.
|
ModelAlreadyExistException(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 ModelAlreadyExistException(java.lang.String errorMessage)
errorMessage - A String message that represents the exception.public ModelAlreadyExistException(java.lang.String errorMessage,
java.lang.Throwable cause)
errorMessage - A String message that represents the exception.cause - A Throwable object that represents the cause for the exception.