Class InferenceException


public class InferenceException extends RuntimeException
Reports model validation, delegate selection, allocation, or invocation failures from the portable inference API.
  • Constructor Details

    • InferenceException

      public InferenceException(String message)
      Creates an inference failure with a user-readable explanation.
      Parameters:
      message - failure explanation
    • InferenceException

      public InferenceException(String message, Throwable cause)
      Creates an inference failure that preserves the native/port cause.
      Parameters:
      message - failure explanation
      cause - originating error