public class HResultException
extends java.lang.Exception
Constructor and Description |
---|
HResultException(int hresult)
Initializes a new HResultException which is to represent a
specific HRESULT value.
|
HResultException(int hresult,
java.lang.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 java.lang.String |
toString(int hresult)
Returns a String representation of a specific
HRESULT value.
|
public HResultException(int hresult)
hresult
- the HRESULT value to be represented by the new
instancepublic HResultException(int hresult, java.lang.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 java.lang.String toString(int hresult)
hresult
- the HRESULT value of which a String
representation is to be returned
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.