InvalidConstraintException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.IllegalStateException

public final class InvalidConstraintException extends IllegalStateException

Represents the exception that is thrown when incorrectly trying to create or access a relation.

Constructors

Constructor Description
InvalidConstraintException(String s) Initializes a new instance of the InvalidConstraintException class with the specified string.

InvalidConstraintException(String s)

public InvalidConstraintException(String s)

Initializes a new instance of the InvalidConstraintException class with the specified string.

Parameters:

Parameter Type Description
s java.lang.String The string to display when the exception is thrown.