com.caucho.util
Class JniTroubleshoot

java.lang.Object
  extended by 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)
           
 
Method Summary
 void checkIsValid()
           
 void disable(java.lang.Throwable cause)
           
 java.lang.Throwable getCause()
           
 java.lang.String getMessage()
           
 boolean isEnabled()
           
 void log()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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