Class nl.sara.webdav.Exception
An exception
Defined in: 001_exception.js.
Constructor Attributes | Constructor Name and Description |
---|---|
nl.sara.webdav.Exception(message, code)
|
Field Attributes | Field Name and Description |
---|---|
The exception code
|
|
The exception message
|
Method Attributes | Method Name and Description |
---|---|
toString()
Overloads the default toString() method so it returns the message of this exception
|
Class Detail
nl.sara.webdav.Exception(message, code)
- Parameters:
- {String} message Optional
- Optional; A human readable message
- {Number} code Optional
- Optional; The error code. It is best to use the class constants to set this.
Field Detail
{Number}
code
The exception code
{String}
message
The exception message
Method Detail
{String}
toString()
Overloads the default toString() method so it returns the message of this exception
- Returns:
- {String} A string representation of this property