|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.qualitycheck.exception.IllegalNotGreaterThanException
public class IllegalNotGreaterThanException
Thrown to indicate that a method was passed arguments which was expected to be greater than another object but was not.
| Field Summary | |
|---|---|
protected static String |
DEFAULT_MESSAGE
Default message to indicate that the given arguments must be greater then another object. |
| Constructor Summary | |
|---|---|
IllegalNotGreaterThanException()
Constructs an IllegalNotGreaterThanException with the default message
DEFAULT_MESSAGE. |
|
IllegalNotGreaterThanException(String message)
Constructs an IllegalNotGreaterThanException with a given message. |
|
IllegalNotGreaterThanException(String message,
Throwable cause)
Constructs a new exception with a given message. |
|
IllegalNotGreaterThanException(Throwable cause)
Constructs a new exception with the default message DEFAULT_MESSAGE. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String DEFAULT_MESSAGE
| Constructor Detail |
|---|
public IllegalNotGreaterThanException()
IllegalNotGreaterThanException with the default message
DEFAULT_MESSAGE.
public IllegalNotGreaterThanException(@Nonnull
String message)
IllegalNotGreaterThanException with a given message.
message - explains why the object must greater than another object
public IllegalNotGreaterThanException(@Nonnull
String message,
@Nullable
Throwable cause)
message - explains why the object must greater than another objectcause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
public IllegalNotGreaterThanException(@Nullable
Throwable cause)
DEFAULT_MESSAGE.
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||