public class PortAudioException extends Exception
| Constructor and Description |
|---|
PortAudioException(String message)
Initializes a new PortAudioException instance with a specific
detail message.
|
PortAudioException(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.
|
String |
toString()
Returns a human-readable representation/description of this
Throwable.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PortAudioException(String message)
message - the detail message to initialize the new instance withpublic PortAudioException(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()
Copyright © 2022 jitsi.org. All rights reserved.