Class Hierarchy    Previous  Next  Index

Interface COM.cloudscape.types.ErrorInfo


public interface ErrorInfo
extends COM.cloudscape.protocol.BasicServices.StoredFormat.Formatable
Copyright © 1998-2000, Informix Software, Inc. All rights reserved.

An interface for describing an error in Cloudscape systems.


Method Index

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

Method Detail

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