|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.protempore.utils.BaseRuntimeException
net.protempore.utils.ValidationException
public class ValidationException
A generic exception indicating some kind of validation failure, such as an invalid argument passed to a method.
| Constructor Summary | |
|---|---|
ValidationException()
Create a new exception that specifies no message or cause. |
|
ValidationException(java.lang.String msg,
java.lang.Object... args)
Create a new exception with the given error message. |
|
ValidationException(java.lang.Throwable cause)
Create a new exception with the given cause. |
|
ValidationException(java.lang.Throwable cause,
java.lang.String msg,
java.lang.Object... args)
Create new exception with the given error message and cause. |
|
| Method Summary |
|---|
| Methods inherited from class net.protempore.utils.BaseRuntimeException |
|---|
getCauses, getMessages, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationException()
public ValidationException(java.lang.String msg,
java.lang.Object... args)
msg - A message.args - Optional arguments for the message.
public ValidationException(java.lang.Throwable cause,
java.lang.String msg,
java.lang.Object... args)
cause - The underlying cause of this exception.msg - An error message.args - Optional arguments for the message.public ValidationException(java.lang.Throwable cause)
cause - The underlying cause of this exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||