Class BambooSpecsPublishingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bamboo.specs.api.exceptions.BambooSpecsPublishingException
All Implemented Interfaces:
Serializable

public final class BambooSpecsPublishingException extends RuntimeException
Exception thrown for unsuccessful publishing of Bamboo Specs.
See Also:
  • Constructor Details

    • 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 Details

    • getErrorType

      @Nullable public @Nullable BambooSpecsPublishingException.ErrorType getErrorType()
      Get the type of encountered error or null if unknown.
    • 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