|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IErrorCollection
Provides access to members that control an Error Collection.
Unlike exceptions thrown within a program, COM exceptions do not stop the flow of execution; instead, a COM error object is created within the current thread. The error object supports the IErrorInfo interface, which has methods allowing the client to get the name of the class and interface which created the error, and a description of the error.
QI from IErrorInfo to IErrorCollection.
See the Error Handling in Components topics for more details.
Method Summary | |
---|---|
int |
getErrorCount()
The count of error records. |
String |
getErrorDescription(int index)
The description of the specified error record. |
Method Detail |
---|
int getErrorCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getErrorDescription(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |