Package com.luciad

Class ErrorInfo

java.lang.Object
com.luciad.ErrorInfo
All Implemented Interfaces:
AutoCloseable

public final class ErrorInfo extends Object implements AutoCloseable
This class exposes details for a failed method call.

It contains :

  • An error message explaining why the call failed.

Related article: Error handling conventions used in the API The exception type depends on the context of the call, please refer to the related documentation.

  • Constructor Details Link icon

    • ErrorInfo Link icon

      public ErrorInfo(@NotNull String message)
  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getMessage Link icon

      @NotNull public String getMessage()
      Returns the error's message.
      Returns:
      the error's message.