Serializablepublic class IllegalPredicateException extends IllegalArgumentException
This exception is thrown if a predicate is null or added to a wrong position.
SystemCapability.Data#DATA_APPDATAMGR| 构造器 | 说明 |
|---|---|
IllegalPredicateException() |
An no-argument constructor used to create an
IllegalPredicateException instance. |
IllegalPredicateException(String message) |
A parameterized constructor used to create an
IllegalPredicateException instance. |
IllegalPredicateException(Throwable causeException) |
A constructor used to create an
IllegalPredicateException instance based on a specified exception class. |
public IllegalPredicateException()
IllegalPredicateException instance.
You can call this method as needed.
public IllegalPredicateException(String message)
IllegalPredicateException instance.
Your application can call this method to pass a specific exception message to distinguish exception scenarios.
message - Indicates the exception message.public IllegalPredicateException(Throwable causeException)
IllegalPredicateException instance based on a specified exception class.
The exception class contains specific exception information.
causeException - Indicates the exception class used to create the IllegalPredicateException
instance.