public class UsbPlatformException extends UsbException
This indicates an error occurred that is specific to the operating system or platform.
This provides access to the specific error code and/or
platform Exception.
| Modifier and Type | Field and Description |
|---|---|
protected int |
errorCode |
protected java.lang.Exception |
platformException |
| Constructor and Description |
|---|
UsbPlatformException()
Constructor.
|
UsbPlatformException(java.lang.Exception pE)
Constructor.
|
UsbPlatformException(int e)
Constructor.
|
UsbPlatformException(int e,
java.lang.Exception pE)
Constructor.
|
UsbPlatformException(java.lang.String s)
Constructor.
|
UsbPlatformException(java.lang.String s,
java.lang.Exception pE)
Constructor.
|
UsbPlatformException(java.lang.String s,
int e)
Constructor.
|
UsbPlatformException(java.lang.String s,
int e,
java.lang.Exception pE)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Get the platform error code.
|
java.lang.Exception |
getPlatformException()
Get the platform Exception.
|
protected java.lang.Exception platformException
protected int errorCode
public UsbPlatformException()
public UsbPlatformException(java.lang.String s)
s - The detail message.public UsbPlatformException(int e)
e - The error code.public UsbPlatformException(java.lang.Exception pE)
pE - The platform Exception.public UsbPlatformException(java.lang.String s,
int e)
s - The detail message.e - The error code.public UsbPlatformException(java.lang.String s,
java.lang.Exception pE)
s - The detail message.pE - The platform Exception.public UsbPlatformException(int e,
java.lang.Exception pE)
e - The error code.pE - The platform Exception.public UsbPlatformException(java.lang.String s,
int e,
java.lang.Exception pE)
s - The detail message.e - The error code.pE - The platform Exception.