Select to view content in your preferred language

How to get the description for Automation Exception error codes in java?

760
2
03-15-2013 02:05 AM
pavan_kumarmuttigi
Emerging Contributor
Hi,

Can anyone please provide me some info on how to get the description to the Automation Exception error codes.

For example:
when we make a call to the getCode() of the AutomationException.It returns a error code  of type long. So, How can we get the description for the error code returned by the that method of the AutomationException in ArcObjects. Please provide me some info if any

Thanks in Advance.
0 Kudos
2 Replies
LeoDonahue
Deactivated User
Are you looking for something other than getDescription() of class AutomationException?
0 Kudos
LeoDonahue
Deactivated User
One other possibility. 

http://help.arcgis.com/en/sdk/10.0/java_ao_adf/api/arcobjects/constant-values.html

Search on the phrase error.  I'm not sure I would want to use the long value over the constant field value for errors.
0 Kudos