com.sas.net.sharenet
Class ShareNetException

com.sas.net.sharenet.ShareNetException
All Implemented Interfaces:
java.io.Serializable

public class ShareNetException

The ShareNetException class provides information about a SAS/SHARE server access error.

Each ShareNetException provides the following:

See Also:
Serialized Form

Constructor Summary
ShareNetException(int code, java.lang.String reason)
          Constructs a ShareNetException object.
ShareNetException(java.lang.String reason)
          Constructs a ShareNetException object.
 
Method Summary
 int getErrorCode()
          Gets the exception code.
 

Constructor Detail

ShareNetException

public ShareNetException(int code,
                         java.lang.String reason)
Constructs a ShareNetException object.

Parameters:
reason - a description of the exception.
code - a specific exception code.

ShareNetException

public ShareNetException(java.lang.String reason)
Constructs a ShareNetException object.

Parameters:
reason - a description of the exception.
code - a specific exception code.
Method Detail

getErrorCode

public int getErrorCode()
Gets the exception code.

Returns:
The ShareNetException's code value.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.