Class Hierarchy Index
Interface COM.cloudscape.types.ErrorInfo
- public interface ErrorInfo
- extends Formatable
Copyright © 1998-1999, Cloudscape, Inc. All rights reserved.
An interface for describing an error in Cloudscape systems.
-
getErrorCode()
-
-
getErrorMessage()
-
-
getNextError()
-
-
getSQLState()
-
getSQLState
public abstract String getSQLState()
- Returns:
- the SQL state for the error. This returns null if
the SQL state is unknown.
- See Also:
- getSQLState
getErrorMessage
public abstract String getErrorMessage()
- Returns:
- the error message for the error.
- See Also:
- getLocalizedMessage
getErrorCode
public abstract int getErrorCode()
- Returns:
- the error code for the error. For Cloudscape errors
this is the error severity.
- See Also:
- getErrorCode, JBMSExceptionSeverity
getNextError
public abstract ErrorInfo getNextError()
- Returns:
- an error chained to this one. If no error is
chained to this one, this returns null.
- See Also:
- getNextException
Class Hierarchy Index