GODPAPER | All Packages | All Classes | Index | Frames No Frames |
IllegalArgumentError

Package | org.spicefactory.lib.errors
Class | public class IllegalArgumentError
Inheritance | IllegalArgumentError NestedError Error

Error thrown when a method is called with illegal arguments.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | cause : Error [read-only] The cause of this Error, may be null. | NestedError

Public Methods

| Method | Defined By
--- | --- | ---
|  | IllegalArgumentError(message:String, cause:Error = null, id:int = 0) Creates a new instance. | IllegalArgumentError

Constructor Detail

IllegalArgumentError | () | Constructor

`public function IllegalArgumentError(message:String, cause:Error = null, id:int = 0)`

Creates a new instance.

Parameters

| `message:String` — the error message
| `cause:Error` (default = `null`)`` — the cause of this Error
| `id:int` (default = `0`)`` — an optional reference number

Thu Jan 16 2014, 01:11 PM +08:00