Package com.altova.automation.libs
Class AutomationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.altova.automation.libs.AutomationException
- All Implemented Interfaces:
java.io.Serializable
public class AutomationException
extends java.lang.Exception
Error object for all problems occurring on the Java/COM-server communication.
This includes errors detected in the Java-COM part or the JNI part of Java/COM communication
and those received from the COM server.
- Since:
- 2011r3
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AutomationException(java.lang.String strErrorText)Construct an error object that is not directly related to a COM error.AutomationException(java.lang.String strErrorText, int hRes)Construct a error object for an error received from COM infrastructure or the COM server. -
Method Summary
-
Constructor Details
-
AutomationException
public AutomationException(java.lang.String strErrorText)Construct an error object that is not directly related to a COM error.- Parameters:
strErrorText-
-
AutomationException
public AutomationException(java.lang.String strErrorText, int hRes)Construct a error object for an error received from COM infrastructure or the COM server.- Parameters:
strErrorText-hRes- - COM error code with the same semantics as HRESULT.
-