Class OpenDALException

All Implemented Interfaces:
Serializable

public class OpenDALException extends RuntimeException
An OpenDALException encapsulates the error of an operation. This exception type is used to describe an internal error from the native opendal library.
See Also:
  • Constructor Details

    • OpenDALException

      public OpenDALException(String code, String message)
      Construct an OpenDALException. This constructor is called from native code.
      Parameters:
      code - string representation of the error code
      message - error message
    • OpenDALException

      public OpenDALException(OpenDALException.Code code, String message)
  • Method Details

    • getCode

      public OpenDALException.Code getCode()
      Get the error code returned from OpenDAL.
      Returns:
      The error code reported by OpenDAL.