com.ontotext.ordi
Interface WarningAware

All Known Subinterfaces:
Connection, DataSource, TConnection, TSource, WsmoConnection, WsmoSource
All Known Implementing Classes:
ConnectionImpl, DataSourceImpl, RDBMSAdapter, RDBMSConnection, RemoteWsmoConnection, RemoteWsmoSource, TConnectionImpl, TQueryConnectionImpl, TRREEAdapter, TRREEConnection, TSourceImpl, WarningAwareImpl, WsmoConnectionImpl, WsmoSourceImpl

public interface WarningAware

Interface to provide ability to read warnings during access of the information. The warnings are silently chained to the object.

Author:
vassil

Method Summary
 void clearWarnings()
          Clears all reported warnings by the object.
 ORDIWarning getWarning()
          Retrieves the first warning reported by the object
 

Method Detail

getWarning

ORDIWarning getWarning()
Retrieves the first warning reported by the object

Returns:
the first ORDIWarning or null if there are none.

clearWarnings

void clearWarnings()
Clears all reported warnings by the object.



Copyright © 2008. All Rights Reserved.