com.simba.dsi.dataengine.impl
Class DSIErrorResult

java.lang.Object
  extended by com.simba.dsi.dataengine.impl.DSIErrorResult
All Implemented Interfaces:
IErrorResult

public class DSIErrorResult
extends java.lang.Object
implements IErrorResult

An DSIErrorResult provides information about an error that occurred during query execution.


Constructor Summary
DSIErrorResult(com.simba.support.exceptions.ErrorException error)
          Constructor.
DSIErrorResult(java.lang.String errorMessage, int nativeErrorCode, java.lang.String sqlState)
          Constructor.
 
Method Summary
 com.simba.support.exceptions.ErrorException getError()
          Retrieves the ErrorException wrapped by this IErrorResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSIErrorResult

public DSIErrorResult(java.lang.String errorMessage,
                      int nativeErrorCode,
                      java.lang.String sqlState)
Constructor. An ErrorException is created using the given parameters. To retrieve information about this ErrorException, use getError(), and use the accessor methods available on ErrorException.

Parameters:
errorMessage - The error message for this result.
nativeErrorCode - The native error code for this result.
sqlState - The SQL State for this result.

DSIErrorResult

public DSIErrorResult(com.simba.support.exceptions.ErrorException error)
Constructor.

Parameters:
error - The ErrorException for this object.
Method Detail

getError

public com.simba.support.exceptions.ErrorException getError()
Retrieves the ErrorException wrapped by this IErrorResult.

Specified by:
getError in interface IErrorResult
Returns:
the ErrorException wrapped by this IErrorResult.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.