Gets the error code associated with this exception.
int WSException.getErrorCode()
The error code associated with this exception.