com.jniwrapper.win32.automation
Class AutomationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jniwrapper.JNIWrapperException
com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.automation.AutomationException
- All Implemented Interfaces:
- java.io.Serializable
- public class AutomationException
- extends ComException
This exception class is used for indicating errors occurred in the COM object during atomation.
Also it provides additional information ExcepInfo
about COM exception,
which can occur in the IDispatch.invoke(...)
method, called by the Automation
class.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AutomationException
public AutomationException(ComException e,
ExcepInfo excepInfo)
getExcepInfo
public ExcepInfo getExcepInfo()
- Deprecated. use
getExceptionInformation()
- Returns additional information about COM exception, stored in the
ExcepInfo
structure.
- Returns:
- an instance of
ExcepInfo
class
getExceptionInformation
public ExcepInfo getExceptionInformation()
- Returns additional information about COM exception, stored in the
ExcepInfo
structure.
- Returns:
- an instance of
ExcepInfo
class containingn detailed description of the exception