Class LibraryNotFoundError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.UnsatisfiedLinkError
org.apache.tomcat.jni.LibraryNotFoundError
- All Implemented Interfaces:
Serializable
Exception thrown when a required native library cannot be found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLibraryNotFoundError(String libraryNames, String errors) Constructs an instance with the given library names and error messages. -
Method Summary
Modifier and TypeMethodDescriptionReturns the names of the libraries that failed to load.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LibraryNotFoundError
Constructs an instance with the given library names and error messages.- Parameters:
libraryNames- A list of the file names of the native libraries that failed to loaderrors- A list of the error messages received when trying to load each of the libraries
-
-
Method Details
-
getLibraryNames
Returns the names of the libraries that failed to load.- Returns:
- the library names
-