Class Kstat2StatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.jna.platform.unix.solaris.Kstat2StatusException
- All Implemented Interfaces:
- Serializable
Exception encapsulating 
Kstat2 Error Return Values, defined as
 kstat2_status values in kstat2.h- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionKstat2StatusException(int ks) New exception fromkstat2_statusprotectedKstat2StatusException(int ks, String msg) New exception fromkstat2_statuswith specified message
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
Kstat2StatusExceptionpublic Kstat2StatusException(int ks) New exception fromkstat2_status- Parameters:
- ks- The return value
 
- 
Kstat2StatusExceptionNew exception fromkstat2_statuswith specified message- Parameters:
- ks- The return value
- msg- The exception message
 
 
- 
- 
Method Details- 
getKstat2Statuspublic int getKstat2Status()- Returns:
- the Kstat2Status code
 
 
-