| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Error | ||
| ↳ | java.lang.AssertionError | ||
   Known Direct Subclasses
  
 | 
   Known Indirect Subclasses
  
 | 
Thrown when an assertion has failed.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
          Constructs a new  
  
  AssertionError with no message.
          
    
         | |||||||||||
          Constructs a new  
  
  AssertionError with the given detail message and cause.
          
    
         | |||||||||||
          Constructs a new  
  
  AssertionError with a message based on calling
 valueOf(Object) with the specified object.
          
    
         | |||||||||||
          Constructs a new  
  
  AssertionError with a message based on calling
 valueOf(boolean) with the specified boolean value.
          
    
         | |||||||||||
          Constructs a new  
  
  AssertionError with a message based on calling
 valueOf(char) with the specified character value.
          
    
         | |||||||||||
          Constructs a new  
  
  AssertionError with a message based on calling
 valueOf(int) with the specified integer value.
          
    
         | |||||||||||
          Constructs a new  
  
  AssertionError with a message based on calling
 valueOf(long) with the specified long value.
          
    
         | |||||||||||
          Constructs a new  
  
  AssertionError with a message based on calling
 valueOf(float) with the specified float value.
          
    
         | |||||||||||
          Constructs a new  
  
  AssertionError with a message based on calling
 valueOf(double) with the specified double value.
          
    
         | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Throwable
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
Constructs a new AssertionError with the given detail message and cause.
Constructs a new AssertionError with a message based on calling
 valueOf(Object) with the specified object. If the object
 is an instance of Throwable, then it also becomes the cause of
 this error.
| detailMessage | the object to be converted into the detail message and optionally the cause. | 
|---|
Constructs a new AssertionError with a message based on calling
 valueOf(boolean) with the specified boolean value.
| detailMessage | the value to be converted into the message. | 
|---|
Constructs a new AssertionError with a message based on calling
 valueOf(char) with the specified character value.
| detailMessage | the value to be converted into the message. | 
|---|
Constructs a new AssertionError with a message based on calling
 valueOf(int) with the specified integer value.
| detailMessage | the value to be converted into the message. | 
|---|
Constructs a new AssertionError with a message based on calling
 valueOf(long) with the specified long value.
| detailMessage | the value to be converted into the message. | 
|---|
Constructs a new AssertionError with a message based on calling
 valueOf(float) with the specified float value.
| detailMessage | the value to be converted into the message. | 
|---|
Constructs a new AssertionError with a message based on calling
 valueOf(double) with the specified double value.
| detailMessage | the value to be converted into the message. | 
|---|