com.stc.connector.comadapter.comruntime
Class STCHResult
java.lang.Object
com.stc.connector.comadapter.comruntime.STCHResult
public class STCHResult
- extends java.lang.Object
The STCHResult class wraps the COM HRESULT type. It includes
several of the more common HRESULT values as public final integers.
Constructor Summary |
STCHResult(int hr)
Constructor for the class. |
Method Summary |
int |
getHResult()
Returns the hResult. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
S_OK
public static final int S_OK
- See Also:
- Constant Field Values
S_FALSE
public static final int S_FALSE
- See Also:
- Constant Field Values
E_ABORT
public static final int E_ABORT
- See Also:
- Constant Field Values
E_FAIL
public static final int E_FAIL
- See Also:
- Constant Field Values
E_POINTER
public static final int E_POINTER
- See Also:
- Constant Field Values
E_UNEXPECTED
public static int E_UNEXPECTED
STCHResult
public STCHResult(int hr)
- Constructor for the class.
- Parameters:
hr
- The hResult.
- Throws:
- None.
getHResult
public int getHResult()
- Returns the hResult.
- Parameters:
- None.
- Returns:
int
- Returns the hResult.
- Throws:
- None.
Copyright © 1994-2008 Sun Microsystems, Inc. All rights reserved.