Main Page | Packages | Class Tree | Index | Help

xp.services

class Fault

Object
  |
  +--xp.services.Fault


class Fault
extends Object

Contains the error details from a fault that occurred during a method invocation



Property Summary


description: String (read-only)
Provides access to the description of the error provided by the remote service

public
detail: String (read-only)
Provides access to the detail information provided by the remote service

public
faultcode: String (read-only)
Provides access to the fault code provided by the remote service

public
faultstring: String (read-only)
Provide access to the description of the fault by the remote service

public
type: String (read-only)
Provides access to the type information provided by the remote service.

Constructor

public
Fault ( code: String, msg: String, detail: String, type: String)
Constructs an instance of the fault with the specified code, message, and details



Property Documentation

description

description: String (read-only)
Provides access to the description of the error provided by the remote service

detail

public detail: String (read-only)
Provides access to the detail information provided by the remote service

faultcode

public faultcode: String (read-only)
Provides access to the fault code provided by the remote service

faultstring

public faultstring: String (read-only)
Provide access to the description of the fault by the remote service

type

public type: String (read-only)
Provides access to the type information provided by the remote service.


Constructor Documentation

Fault

public function Fault(code: String,
 msg: String,
 detail: String,
 type: String)
Constructs an instance of the fault with the specified code, message, and details

Parameters:
code
String containing the fault code
msg
String containing the fault message
detail
String containing any details associted with the fault
type
String containing the name of the exception class that was thrown on the server

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc