|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.olap.OLAPException
public class OLAPException
An exception that provides information on a database access error or other errors. Each OLAPException provides several kinds of information: A string describing the error. This is used as the Java Exception message, available via the method getMesage. An integer error code that is specific to each vendor. Normally this will be the actual error code returned by the underlying database.
OLAPWarning
,
Serialized FormConstructor Summary | |
---|---|
OLAPException()
Constructs an OLAPException object; reason defaults to null and vendorCode defaults to 0. |
|
OLAPException(java.lang.String reason)
Constructs an OLAPException object with a reason; vendorCode defaults to 0. |
|
OLAPException(java.lang.String reason,
int vendorCode)
Constructs a fully-specified OLAPException object. |
|
OLAPException(java.lang.Throwable targetException)
|
|
OLAPException(java.lang.Throwable targetException,
java.lang.String reason)
|
|
OLAPException(java.lang.Throwable targetException,
java.lang.String reason,
int vendorCode)
|
Method Summary | |
---|---|
int |
getErrorCode()
Retrieves the vendor-specific exception code for this OLAPException object. |
Constructor Detail |
---|
public OLAPException()
public OLAPException(java.lang.String reason)
public OLAPException(java.lang.String reason, int vendorCode)
public OLAPException(java.lang.Throwable targetException, java.lang.String reason)
public OLAPException(java.lang.Throwable targetException)
public OLAPException(java.lang.Throwable targetException, java.lang.String reason, int vendorCode)
Method Detail |
---|
public int getErrorCode()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |