Class PlanningException

    • Constructor Detail

      • PlanningException

        public PlanningException​(@Nonnull
                                 PlanningException.ErrorCodes errorCode,
                                 @Nullable
                                 String message)
        Initializes a new instance of the PlanningException class with a provided error code and message
        Parameters:
        errorCode - Error code
        message - The exception message
      • PlanningException

        public PlanningException​(@Nonnull
                                 PlanningException.ErrorCodes errorCode,
                                 @Nullable
                                 String message,
                                 @Nullable
                                 Throwable innerException)
        Initializes a new instance of the PlanningException class with a provided error code, message, and inner exception.
        Parameters:
        errorCode - The error code
        message - A string that describes the error
        innerException - The exception that is the cause of the current exception