com.caucho.util
Class JniTroubleshoot
java.lang.Object
com.caucho.util.JniTroubleshoot
@Module
public class JniTroubleshoot
- extends java.lang.Object
Common error management for JNI loading
Constructor Summary |
JniTroubleshoot(java.lang.Class<?> cl,
java.lang.String libraryName)
|
JniTroubleshoot(java.lang.Class<?> cl,
java.lang.String libraryName,
java.lang.Throwable cause)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JniTroubleshoot
public JniTroubleshoot(java.lang.Class<?> cl,
java.lang.String libraryName)
JniTroubleshoot
public JniTroubleshoot(java.lang.Class<?> cl,
java.lang.String libraryName,
java.lang.Throwable cause)
log
public void log()
getMessage
public java.lang.String getMessage()
checkIsValid
public void checkIsValid()
isEnabled
public boolean isEnabled()
disable
public void disable(java.lang.Throwable cause)
getCause
public java.lang.Throwable getCause()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object