All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:

- A string describing the error. This is used as the Java Exception message, and is available via the getMesage() method.
- An error code.

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.

All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SAS Institute Inc. All Rights Reserved.