ComException Class
- java.
lang. Object - RuntimeException
- system.
fabric. exception. ComException
- system.
public class ComException
The exception that is thrown when an unrecognized HRESULT is returned from a COM method call.
Constructor Summary
Constructor | Description | |
---|---|---|
ComException() | ||
ComException(FabricErrorCode errorCode, String description) | ||
ComException(long hresult, String description) |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
getHResult()
Gets a coded numerical value that is assigned to a specific exception. |
Constructor Details
ComException
public ComException()
ComException
public ComException(FabricErrorCode errorCode, String description)
Parameters:
errorCode
description
ComException
public ComException(long hresult, String description)
Parameters:
hresult
description
Method Details
getHResult
public long getHResult()
Gets a coded numerical value that is assigned to a specific exception.
Returns:
a coded numerical value
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java