Class BambooSpecsPublishingException

    • Constructor Detail

      • BambooSpecsPublishingException

        public BambooSpecsPublishingException​(@NotNull
                                              @NotNull RootEntityPropertiesBuilder<?> entityProperties,
                                              @Nullable
                                              @Nullable BambooSpecsPublishingException.ErrorType errorType,
                                              @Nullable
                                              @Nullable String message,
                                              @Nullable
                                              @Nullable String debugMessage,
                                              @Nullable
                                              @Nullable Throwable cause)
        Creates an instance of the exception.
        Parameters:
        entityProperties - properties which caused the error
        errorType - type of error (if known)
        message - error message (if available)
        debugMessage - additional message of the exception which should be displayed for debug logging (if available)
        cause - underlying exception that caused the error (if available)
    • Method Detail

      • getMessage

        @NotNull
        public @NotNull String getMessage()
        Returns the message of this exception.
        Overrides:
        getMessage in class Throwable
      • getDebugMessage

        @Nullable
        public @Nullable String getDebugMessage()
        Returns additional message for debugging, null if not available.
      • getCause

        @Nullable
        public @Nullable Throwable getCause()
        Returns the cause of this throwable or null if the cause is nonexistent or unknown.
        Overrides:
        getCause in class Throwable