|
Josh Native console access wrapper for Java |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.yifanlu.Josh.OSNotSupportedException
public class OSNotSupportedException
This exception is thrown if a method calls a native function in Windows that isn't supported by the current version.
| Field Summary | |
|---|---|
static int |
WINDOWS_2000
OS Versions |
static int |
WINDOWS_VISTA
OS Versions |
static int |
WINDOWS_XP
OS Versions |
| Constructor Summary | |
|---|---|
OSNotSupportedException(int requiredVersion)
Creates a new exception with the required OS version. |
|
OSNotSupportedException(java.lang.String requiredVersion)
Creates a new exception with the required OS version as a String (JNI likes this). |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int WINDOWS_2000
public static final int WINDOWS_XP
public static final int WINDOWS_VISTA
| Constructor Detail |
|---|
public OSNotSupportedException(java.lang.String requiredVersion)
requiredVersion - The OS Version that the method requires.public OSNotSupportedException(int requiredVersion)
requiredVersion - An int (from one of the constant values in this class) that defines what the minimum OS version required is.
|
Copyright © 2010 Yifan Lu | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||