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.


Method Index

 o getErrorCode()
 o getErrorMessage()
 o getNextError()
 o getSQLState()

Methods

 o getSQLState
 public abstract String getSQLState()
Returns:
the SQL state for the error. This returns null if the SQL state is unknown.
See Also:
getSQLState
 o getErrorMessage
 public abstract String getErrorMessage()
Returns:
the error message for the error.
See Also:
getLocalizedMessage
 o getErrorCode
 public abstract int getErrorCode()
Returns:
the error code for the error. For Cloudscape errors this is the error severity.
See Also:
getErrorCode, JBMSExceptionSeverity
 o 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