Module org.refcodes.criteria
Package org.refcodes.criteria
Class CriteriaException.BadCriteriaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.criteria.CriteriaException
org.refcodes.criteria.CriteriaException.BadCriteriaException
- All Implemented Interfaces:
Serializable,CriteriaAccessor,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap
- Direct Known Subclasses:
ComplexCriteriaException
- Enclosing class:
- CriteriaException
public static class CriteriaException.BadCriteriaException
extends CriteriaException
implements CriteriaAccessor
The
CriteriaException.BadCriteriaException is thrown in case of problems related to
some Criteria.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.criteria.CriteriaException
CriteriaException.BadCriteriaExceptionNested classes/interfaces inherited from interface org.refcodes.criteria.CriteriaAccessor
CriteriaAccessor.CriteriaMutator, CriteriaAccessor.CriteriaPropertyNested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty -
Constructor Summary
ConstructorsConstructorDescriptionBadCriteriaException(Criteria aCriteria, String message) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, String aMessage, String aErrorCode) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, String message, Throwable cause) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, Throwable cause) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, Throwable aCause, String aErrorCode) Instantiates a new criteria criteria exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadCriteriaException
Instantiates a new criteria criteria exception.- Parameters:
aCriteria- the criteriaaMessage- the messageaErrorCode- the error code
-
BadCriteriaException
public BadCriteriaException(Criteria aCriteria, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new criteria criteria exception.- Parameters:
aCriteria- the criteriaaMessage- the messageaCause- the causeaErrorCode- the error code
-
BadCriteriaException
Instantiates a new criteria criteria exception.- Parameters:
aCriteria- the criteriamessage- the messagecause- the cause
-
BadCriteriaException
Instantiates a new criteria criteria exception.- Parameters:
aCriteria- the criteriamessage- the message
-
BadCriteriaException
Instantiates a new criteria criteria exception.- Parameters:
aCriteria- the criteriaaCause- the causeaErrorCode- the error code
-
BadCriteriaException
Instantiates a new criteria criteria exception.- Parameters:
aCriteria- the criteriacause- the cause
-
-
Method Details
-
getCriteria
Gets the criteria.- Specified by:
getCriteriain interfaceCriteriaAccessor- Returns:
- the criteria
-