Android
java.lang
public class

java.lang.AssertionError

java.lang.Object
java.lang.Throwable Serializable
java.lang.Error
java.lang.AssertionError

Indicates that an assertion has failed.

Summary

Public Constructors

            AssertionError()

Constructs an instance without a message.

            AssertionError(Object detailMessage)

Constructs an instance with a message that is the valueOf(Object) of the object passed.

            AssertionError(boolean detailMessage)

Constructs an instance with a message that is the valueOf(boolean) of the boolean passed.

            AssertionError(char detailMessage)

Constructs an instance with a message that is the valueOf(char) of the char passed.

            AssertionError(int detailMessage)

Constructs an instance with a message that is the valueOf(int) of the int passed.

            AssertionError(long detailMessage)

Constructs an instance with a message that is the valueOf(long) of the long passed.

            AssertionError(float detailMessage)

Constructs an instance with a message that is the valueOf(float) of the float passed.

            AssertionError(double detailMessage)

Constructs an instance with a message that is the valueOf(double) of the double passed.

Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public AssertionError()

Constructs an instance without a message.

public AssertionError(Object detailMessage)

Constructs an instance with a message that is the valueOf(Object) of the object passed. If the object passed is an instanceof Throwable, then it also becomes the cause of this error.

Parameters

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 valueOf(boolean) of the boolean passed.

Parameters

detailMessage The value to be converted into the message.

public AssertionError(char detailMessage)

Constructs an instance with a message that is the valueOf(char) of the char passed.

Parameters

detailMessage The value to be converted into the message.

public AssertionError(int detailMessage)

Constructs an instance with a message that is the valueOf(int) of the int passed.

Parameters

detailMessage The value to be converted into the message.

public AssertionError(long detailMessage)

Constructs an instance with a message that is the valueOf(long) of the long passed.

Parameters

detailMessage The value to be converted into the message.

public AssertionError(float detailMessage)

Constructs an instance with a message that is the valueOf(float) of the float passed.

Parameters

detailMessage The value to be converted into the message.

public AssertionError(double detailMessage)

Constructs an instance with a message that is the valueOf(double) of the double passed.

Parameters

detailMessage The value to be converted into the message.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48