共用方式為


Sys Exception Types

Creates an Error object that represents exceptions that are raised by the Microsoft Ajax Library framework. These exceptions are created dynamically by using the Error type extension functions and cannot be instantiated or invoked.

Namespace: Sys

Inherits: None

Exceptions

Name

Description

Sys.ArgumentException

Raised when a function or method is invoked and at least one of the passed arguments does not meet the parameter specification of the called function or method.

Sys.ArgumentNullException

Raised when an argument has an invalid value of null.

Sys.ArgumentOutOfRangeException

Raised when an argument value is outside an acceptable range.

Sys.ArgumentTypeException

Raised when a parameter is not an allowed type.

Sys.ArgumentUndefinedException

Raised when an argument for a required method parameter is undefined.

Sys.InvalidOperationException

Raised when a call to a method has failed, but the reason was not invalid arguments.

Sys.NotImplementedException

Raised when a requested method is not supported by an object.

Sys.ParameterCountException

Raised when an invalid number of arguments have been passed to a function.

Sys.ScriptLoadFailedException

Raised by the Microsoft Ajax Library framework when a script does not load successfully. This exception should not be thrown by the developer.

See Also

Reference

Error.create Function

Error Type Extensions

Concepts

Sys.WebForms Exceptions