public class COMInvokeException extends COMException
| Constructor and Description |
|---|
COMInvokeException()
Instantiates a new automation exception.
|
COMInvokeException(java.lang.String message)
Instantiates a new automation exception.
|
COMInvokeException(java.lang.String message,
java.lang.Throwable cause)
Instantiates a new automation exception.
|
COMInvokeException(java.lang.String message,
WinNT.HRESULT hresult,
java.lang.Integer errorArg,
java.lang.String description,
java.lang.Integer helpContext,
java.lang.String helpFile,
java.lang.Integer scode,
java.lang.String source,
java.lang.Integer wCode)
Instantiates a new automation exception.
|
COMInvokeException(java.lang.Throwable cause)
Instantiates a new automation exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.Integer |
getErrorArg()
Gets the arg err.
|
java.lang.Integer |
getHelpContext() |
java.lang.String |
getHelpFile() |
java.lang.Integer |
getScode() |
java.lang.String |
getSource() |
java.lang.Integer |
getWCode() |
getHresult, matchesErrorCodepublic COMInvokeException()
public COMInvokeException(java.lang.String message)
message - the messagepublic COMInvokeException(java.lang.Throwable cause)
cause - the causepublic COMInvokeException(java.lang.String message,
java.lang.Throwable cause)
message - the messagecause - the causepublic COMInvokeException(java.lang.String message,
WinNT.HRESULT hresult,
java.lang.Integer errorArg,
java.lang.String description,
java.lang.Integer helpContext,
java.lang.String helpFile,
java.lang.Integer scode,
java.lang.String source,
java.lang.Integer wCode)
message - exception messagehresult - hresult of the invoke callerrorArg - the position of the argument that caused the errordescription - The exception description to display. If no
description is available, use null.helpContext - The help context ID.helpFile - The fully qualified help file path. If no Help is
available, use null.scode - A return value that describes the error. Either this field
or wCode (but not both) must be filled in; the other must be set to 0.
(16-bit Windows versions only.)source - The name of the exception source. Typically, this is an
application name. This field should be filled in by the implementor of
IDispatch.wCode - The error code. Error codes should be greater than 1000.
Either this field or the scode field must be filled in; the other must be
set to 0.public java.lang.Integer getErrorArg()
public java.lang.Integer getWCode()
public java.lang.String getSource()
public java.lang.String getDescription()
public java.lang.String getHelpFile()
public java.lang.Integer getHelpContext()
public java.lang.Integer getScode()