Provides access to errors captured by the application server. The error information provided is server specific.
For JSP targets you must assign a variable of the PSErrorClass type before you can construct an instance of the object or call methods on it. To create an object of type PSErrorClass in ASP targets, you can designate an untyped variable to reference an instance of the object that is returned by the GetError method on a PSConnectionClass object.
PSErrorClass (code, info )
PSErrorClass constructor |
Datatype |
Description |
---|---|---|
code |
int |
The error code returned from the connection object |
info |
String |
The error message returned from the connection object |
PSConnectionClass method |
Description |
---|---|
Returns the code associated with the current error object |
|
Returns the message associated with the current error object |
|
Returns the next error object, if one exists |