com.sas.net.connect
Class ConnectLogException

com.sas.net.connect.ConnectLogException
All Implemented Interfaces:
java.io.Serializable

public class ConnectLogException

The ConnectLogException class provides information about an error returned in the SAS log.

Each ConnectLogException provides the following:

See Also:
Serialized Form

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

Constructor Detail

ConnectLogException

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

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

ConnectLogException

public ConnectLogException(java.lang.String reason)
Constructs a ConnectLogException.

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

getErrorCode

public int getErrorCode()
Gets the exception code.

Overrides:
getErrorCode in class ConnectException
Returns:
The ConnectLogException's code value.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.