public class PortAudioException
extends java.lang.Exception
Constructor and Description |
---|
PortAudioException(java.lang.String message)
Initializes a new PortAudioException instance with a specific
detail message.
|
PortAudioException(java.lang.String message,
long errorCode,
int hostApiType)
Initializes a new PortAudioException instance with a specific
detail message.
|
Modifier and Type | Method and Description |
---|---|
long |
getErrorCode()
Gets the code of the error as defined by the native PortAudio library
represented by this instance if it is known.
|
Pa.HostApiTypeId |
getHostApiType()
Gets the host API, if any, which returned the error code and (detailed)
message represented by this instance.
|
java.lang.String |
toString()
Returns a human-readable representation/description of this
Throwable.
|
public PortAudioException(java.lang.String message)
message
- the detail message to initialize the new instance withpublic PortAudioException(java.lang.String message, long errorCode, int hostApiType)
message
- the detail message to initialize the new instance witherrorCode
- hostApiType
- public long getErrorCode()
Pa.paNoError
if it
is not knownpublic Pa.HostApiTypeId getHostApiType()
public java.lang.String toString()
toString
in class java.lang.Throwable
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.