ConstraintException
Leave feedback
On this page
Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.IllegalStateException
public final class ConstraintException extends IllegalStateException
Represents the exception that is thrown when attempting an action that violates a constraint.
| Constructor | Description |
|---|---|
| ConstraintException(String s) | Initializes a new instance of the ConstraintException class with the specified string. |
public ConstraintException(String s)
Initializes a new instance of the ConstraintException class with the specified string.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| s | java.lang.String | The string to display when the exception is thrown. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.