Class APIPreconditionException

  • All Implemented Interfaces:
    Serializable

    public class APIPreconditionException
    extends APIRuntimeException
    Exceptions of this type represent a failed precondition check. Such checks are carried out throughout processing to check whether all the necessary prerequisites for proper processing of the task at hand have been met. Such exceptions typically indicate an implementation error rather than incorrect use of the API.
    See Also:
    Serialized Form
    • Constructor Detail

      • APIPreconditionException

        public APIPreconditionException​(@Nonnull
                                        String message)
        Creates a new API precondition exception with the given error message.
        Parameters:
        message - Brief error message describing the unmet precondition. Will be appended to some basic exception specific error text.