com.sas.net.sharenet
Class ShareNetException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sas.net.sharenet.ShareNetException
- All Implemented Interfaces:
- public class ShareNetException
- extends Exception
The ShareNetException class provides information about a SAS/SHARE server access
error.
Each ShareNetException provides the following:
- A string describing the error. This is used as the Java Exception
message, and is available through the getMessage() method.
- An error code.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ShareNetException
public ShareNetException(int code,
String reason)
- Constructs a ShareNetException object.
- Parameters:
reason
- a description of the exception.code
- a specific exception code.
ShareNetException
public ShareNetException(String reason)
- Constructs a ShareNetException object.
- Parameters:
reason
- a description of the exception.code
- a specific exception code.
getErrorCode
public int getErrorCode()
- Gets the exception code.
- Returns:
- The ShareNetException's code value.
Copyright © 2003 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 09 Jul 2004 16:13:37