public class NotQueryableException extends QueryException
Constructor and Description |
---|
NotQueryableException(String message)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
throwIfNotQueryable(AccessibleObject accessor)
Verify that the provided accessor method has not been marked with a Queryable(false).
|
static void |
throwIfNotQueryable(Class<?> type)
Verify that the provided type has not been marked with a Queryable(false).
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotQueryableException(String message)
message
- exception messagepublic static void throwIfNotQueryable(AccessibleObject accessor)
accessor
- accessor methodNotQueryableException
- - If accessor method has been marked as not queryablepublic static void throwIfNotQueryable(Class<?> type)
type
- a typeNotQueryableException
- - If type has been marked as not queryable