Final

java.lang
Class AssertionError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.AssertionError
All Implemented Interfaces:
Serializable

public class AssertionError
extends Error

Assert statement support

See Also:
Serialized Form

Constructor Summary
AssertionError()
          Constructs a new instance of this class with its walkback filled in.
AssertionError(boolean detailMessage)
          Constructs a new instance of this class with its message filled in from the value of argument.
AssertionError(char detailMessage)
          Constructs a new instance of this class with its message filled in from the value of argument.
AssertionError(double detailMessage)
          Constructs a new instance of this class with its message filled in from the value of argument.
AssertionError(float detailMessage)
          Constructs a new instance of this class with its message filled in from the value of argument.
AssertionError(int detailMessage)
          Constructs a new instance of this class with its message filled in from the value of argument.
AssertionError(long detailMessage)
          Constructs a new instance of this class with its message filled in from the value of argument.
AssertionError(Object detailMessage)
          Constructs a new instance of this class with its message filled in.
 
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

AssertionError

public AssertionError()
Constructs a new instance of this class with its walkback filled in.


AssertionError

public AssertionError(Object detailMessage)
Constructs a new instance of this class with its message filled in.

Parameters:
detailMessage - Object The detail message for the exception.

AssertionError

public AssertionError(boolean detailMessage)
Constructs a new instance of this class with its message filled in from the value of argument.

Parameters:
detailMessage - boolean Constructs the detail message from the boolean value of argument.

AssertionError

public AssertionError(char detailMessage)
Constructs a new instance of this class with its message filled in from the value of argument.

Parameters:
detailMessage - char Constructs the detail message from the char argument.

AssertionError

public AssertionError(int detailMessage)
Constructs a new instance of this class with its message filled in from the value of argument.

Parameters:
detailMessage - int Constructs the detail message from the value of int argument.

AssertionError

public AssertionError(long detailMessage)
Constructs a new instance of this class with its message filled in from the value of argument.

Parameters:
detailMessage - long Constructs the detail message from the value of long argument.

AssertionError

public AssertionError(float detailMessage)
Constructs a new instance of this class with its message filled in from the value of argument.

Parameters:
detailMessage - float Constructs the detail message from the value of float argument.

AssertionError

public AssertionError(double detailMessage)
Constructs a new instance of this class with its message filled in from the value of argument.

Parameters:
detailMessage - double Constructs the detail message from the value of double argument.

Final

Licensed Materials - Property of IBM
© Copyright IBM Corp. 2006, 2008 All Rights Reserved.