public class HResultException extends Exception
| Constructor and Description |
|---|
HResultException(int hresult)
Initializes a new HResultException which is to represent a
specific HRESULT value.
|
HResultException(int hresult,
String message)
Initializes a new HResultException which is to represent a
specific HRESULT value and have a specific detail message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHResult()
Gets the HRESULT value represented by this instance.
|
static String |
toString(int hresult)
Returns a String representation of a specific
HRESULT value.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HResultException(int hresult)
hresult - the HRESULT value to be represented by the new
instancepublic HResultException(int hresult,
String message)
hresult - the HRESULT value to be represented by the new
instancemessage - the detail message to initialize the new instance withpublic int getHResult()
public static String toString(int hresult)
hresult - the HRESULT value of which a String
representation is to be returnedCopyright © 2022 jitsi.org. All rights reserved.