|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
java.lang.AssertionError
public class AssertionError
Indicates that an assertion has failed.
| Constructor Summary | |
|---|---|
AssertionError()
Constructs an instance without a message. |
|
AssertionError(boolean detailMessage)
Constructs an instance with a message that is the String.valueOf(boolean) of the boolean passed. |
|
AssertionError(char detailMessage)
Constructs an instance with a message that is the String.valueOf(char) of the char passed. |
|
AssertionError(double detailMessage)
Constructs an instance with a message that is the String.valueOf(double) of the double passed. |
|
AssertionError(float detailMessage)
Constructs an instance with a message that is the String.valueOf(float) of the float passed. |
|
AssertionError(int detailMessage)
Constructs an instance with a message that is the String.valueOf(int) of the int passed. |
|
AssertionError(long detailMessage)
Constructs an instance with a message that is the String.valueOf(long) of the long passed. |
|
AssertionError(Object detailMessage)
Constructs an instance with a message that is the String.valueOf(Object) of the object passed. |
|
| 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 |
| Constructor Detail |
|---|
public AssertionError()
Constructs an instance without a message.
public AssertionError(Object detailMessage)
Constructs an instance with a message that is the
String.valueOf(Object) of the object passed. If the object passed
is an instanceof Throwable, then it also becomes the cause of
this error.
detailMessage - The value to be converted into the message and
optionally the cause.public AssertionError(boolean detailMessage)
Constructs an instance with a message that is the
String.valueOf(boolean) of the boolean passed.
detailMessage - The value to be converted into the message.public AssertionError(char detailMessage)
Constructs an instance with a message that is the
String.valueOf(char) of the char passed.
detailMessage - The value to be converted into the message.public AssertionError(int detailMessage)
Constructs an instance with a message that is the
String.valueOf(int) of the int passed.
detailMessage - The value to be converted into the message.public AssertionError(long detailMessage)
Constructs an instance with a message that is the
String.valueOf(long) of the long passed.
detailMessage - The value to be converted into the message.public AssertionError(float detailMessage)
Constructs an instance with a message that is the
String.valueOf(float) of the float passed.
detailMessage - The value to be converted into the message.public AssertionError(double detailMessage)
Constructs an instance with a message that is the
String.valueOf(double) of the double passed.
detailMessage - The value to be converted into the message.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||