UnsatisfiedLinkError

  • UnsatisfiedLinkError is thrown when the JVM can't find a native-language definition for a method declared as native.

  • It's a subclass of LinkageError, indicating an issue during the linking process.

  • Two constructors are available: one with no detail message and one with a specified detail message.

  • It inherits methods from Throwable for exception handling, such as getting the stack trace and message.

public class UnsatisfiedLinkError extends LinkageError

Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.

See Also

Public Constructor Summary

UnsatisfiedLinkError()
Constructs an UnsatisfiedLinkError with no detail message.
UnsatisfiedLinkError(String s)
Constructs an UnsatisfiedLinkError with the specified detail message.

Inherited Method Summary

Public Constructors

public UnsatisfiedLinkError ()

Constructs an UnsatisfiedLinkError with no detail message.

public UnsatisfiedLinkError (String s)

Constructs an UnsatisfiedLinkError with the specified detail message.

Parameters
s the detail message.