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:

See Also:
Serialized Form

Constructor Summary
ShareNetException(int code, String reason)
          Constructs a ShareNetException object.
ShareNetException(String reason)
          Constructs a ShareNetException object.
 
Method Summary
 int getErrorCode()
          Gets the exception code.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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