本文档基于 CC协议(Creative Commons Share-Alike License)发布,是developer.mozilla.com, www.mozref.comwww.aptana.com共同劳动的成果。

URIError : Error

A URIError is thrown when there is an exception with URI encoding or decoding.

Browser/User Agent Support

IEMozillaNetscapeOperaSafari
5.0+1.0+6.0+nono

Constructors

ConstructorIEMozillaNetscapeOperaSafari
Creates a new instance of URIError.
5.0+1.0+6.0+nono
 

Properties

PropertyIEMozillaNetscapeOperaSafari
An error message associated with URIError.
5.0+1.0+6.0+nono
 
Specifies the type of exception.
5.0+1.0+6.0+nono
 

References

Error | Error.message | Error.name

Availability

JavaScript 1.5 | JScript 5.5 | ECMAScript v3

Constructor Detail

URIError URIError([String message])

Creates a new instance of URIError.

StringmessageError message that provides information about the exception. (optional)

Property Detail

String message

An error message associated with URIError.

See Also

Error.mesage

Availability

JavaScript 1.5 | JScript 5.5 | ECMAScript v3

String name

Specifies the type of exception.

Availability

JavaScript 1.5 | JScript 5.5 | ECMAScript v3