Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.lang
Class AssertionError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by oracle.adfnmc.java.lang.AssertionError

public class AssertionError
extends java.lang.Error

Indicates that an assertion has failed.

Since:
1.4

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(java.lang.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
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertionError

public AssertionError()
Constructs an instance without a message.


AssertionError

public AssertionError(java.lang.Object detailMessage)
Constructs an instance with a message that is the String.valueOf(Object) of the object passed. If the object passed is an instance of Throwable, then it also becomes the cause of this error.

Parameters:
detailMessage - The value to be converted into the message and optionally the cause.

AssertionError

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

Parameters:
detailMessage - The value to be converted into the message.

AssertionError

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

Parameters:
detailMessage - The value to be converted into the message.

AssertionError

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

Parameters:
detailMessage - The value to be converted into the message.

AssertionError

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

Parameters:
detailMessage - The value to be converted into the message.

AssertionError

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

Parameters:
detailMessage - The value to be converted into the message.

AssertionError

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

Parameters:
detailMessage - The value to be converted into the message.

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.