Package com.sun.jna.platform.win32.COM
Class COMException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sun.jna.platform.win32.COM.COMException
-
- All Implemented Interfaces:
Serializable
public class COMException extends RuntimeException
Exception class for all COM related classes.- Author:
- Tobias Wolf, wolf.tobias@gmx.net
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description COMException()
Instantiates a new automation exception.COMException(String message)
Instantiates a new automation exception.COMException(String message, OaIdl.EXCEPINFO pExcepInfo, IntByReference puArgErr)
Instantiates a new automation exception.COMException(String message, Throwable cause)
Instantiates a new automation exception.COMException(Throwable cause)
Instantiates a new automation exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntByReference
getArgErr()
Gets the arg err.OaIdl.EXCEPINFO
getExcepInfo()
Gets the excep info.int
getuArgErr()
void
setuArgErr(int uArgErr)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
COMException
public COMException()
Instantiates a new automation exception.
-
COMException
public COMException(String message, Throwable cause)
Instantiates a new automation exception.- Parameters:
message
- the messagecause
- the cause
-
COMException
public COMException(String message)
Instantiates a new automation exception.- Parameters:
message
- the message
-
COMException
public COMException(String message, OaIdl.EXCEPINFO pExcepInfo, IntByReference puArgErr)
Instantiates a new automation exception.- Parameters:
message
- the messagepExcepInfo
- the excep infopuArgErr
- the pu arg err
-
COMException
public COMException(Throwable cause)
Instantiates a new automation exception.- Parameters:
cause
- the cause
-
-
Method Detail
-
getExcepInfo
public OaIdl.EXCEPINFO getExcepInfo()
Gets the excep info.- Returns:
- the excep info
-
getArgErr
public IntByReference getArgErr()
Gets the arg err.- Returns:
- the arg err
-
getuArgErr
public int getuArgErr()
-
setuArgErr
public void setuArgErr(int uArgErr)
-
-