A URIError is thrown when there is an exception with URI encoding or decoding.
Platform Support
| IE | Mozilla | Netscape | Opera | Chrome | Safari | 5.0+ | 1.0+ | 6.0+ | no | no | no |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Chrome | Safari | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
URIError Constructor([String message]) : URIError
Creates a new instance of URIError.
|
Show Details | 5.0+ | 1.0+ | 6.0+ | no | no | no | |||||
URIError([String message]) : URIErrorCreates a new instance of URIError. Parameters
Returns
|
||||||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Chrome | Safari |
|---|---|---|---|---|---|---|---|
|
message
: String
An error message associated with URIError.
|
Show Details | 5.0+ | 1.0+ | 6.0+ | no | no | no |
|
|||||||
|
name
: String
Specifies the type of exception.
|
Show Details | 5.0+ | 1.0+ | 6.0+ | no | no | no |
|
|||||||
References
Error|Error.message|Error.name
Availability
JavaScript 1.5|JScript 5.5|ECMAScript v3