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
Exception thrown for unsuccessful publishing of Bamboo Specs.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumKnown possible failure types. -
Constructor Summary
ConstructorsConstructorDescriptionBambooSpecsPublishingException(@NotNull RootEntityPropertiesBuilder<?> entityProperties, @Nullable BambooSpecsPublishingException.ErrorType errorType, @Nullable String message, @Nullable String debugMessage, @Nullable Throwable cause) Creates an instance of the exception. -
Method Summary
Modifier and TypeMethodDescription@Nullable ThrowablegetCause()Returns the cause of this throwable ornullif the cause is nonexistent or unknown.@Nullable StringReturns additional message for debugging,nullif not available.@Nullable BambooSpecsPublishingException.ErrorTypeGet the type of encountered error ornullif unknown.@NotNull StringReturns the message of this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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 errorerrorType- 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
Get the type of encountered error ornullif unknown. -
getMessage
Returns the message of this exception.- Overrides:
getMessagein classThrowable
-
getDebugMessage
Returns additional message for debugging,nullif not available. -
getCause
Returns the cause of this throwable ornullif the cause is nonexistent or unknown.
-