API Documentation | All Packages | All Classes | Index | Frames No Frames |
AssertionError

Package | org.flexunit
Class | public class AssertionError
Inheritance | AssertionError Error
Subclasses | ParameterizedAssertionError

`Error` class used for failures in assertions

See also

Assert

Public Methods

| Method | Defined By
--- | --- | ---
|  | AssertionError(message:String, id:int = 0) Throws a new Error of type AssertionError with the passed in message | AssertionError

Constructor Detail

AssertionError | () | Constructor

`public function AssertionError(message:String, id:int = 0)`

Throws a new `Error` of type `AssertionError` with the passed in message

Parameters

| `message:String` — The message associated with the error (`null` okay)
| `id:int` (default = `0`)`` — The id of the error if desired (`null` okay)

Thu Apr 10 2014, 08:07 AM +10:00