Class BambooSpecsPublishingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.bamboo.specs.api.exceptions.BambooSpecsPublishingException
-
- All Implemented Interfaces:
java.io.Serializable
public final class BambooSpecsPublishingException extends java.lang.RuntimeExceptionException thrown for unsuccessful publishing of Bamboo Specs.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBambooSpecsPublishingException.ErrorTypeKnown possible failure types.
-
Constructor Summary
Constructors Constructor Description BambooSpecsPublishingException(@NotNull RootEntityPropertiesBuilder<?> entityProperties, @Nullable BambooSpecsPublishingException.ErrorType errorType, @Nullable java.lang.String message, @Nullable java.lang.String debugMessage, @Nullable java.lang.Throwable cause)Creates an instance of the exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.ThrowablegetCause()Returns the cause of this throwable ornullif the cause is nonexistent or unknown.@Nullable java.lang.StringgetDebugMessage()Returns additional message for debugging,nullif not available.@Nullable BambooSpecsPublishingException.ErrorTypegetErrorType()Get the type of encountered error ornullif unknown.@NotNull java.lang.StringgetMessage()Returns the message of this exception.
-
-
-
Constructor Detail
-
BambooSpecsPublishingException
public BambooSpecsPublishingException(@NotNull @NotNull RootEntityPropertiesBuilder<?> entityProperties, @Nullable @Nullable BambooSpecsPublishingException.ErrorType errorType, @Nullable @Nullable java.lang.String message, @Nullable @Nullable java.lang.String debugMessage, @Nullable @Nullable java.lang.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 Detail
-
getErrorType
@Nullable public @Nullable BambooSpecsPublishingException.ErrorType getErrorType()
Get the type of encountered error ornullif unknown.
-
getMessage
@NotNull public @NotNull java.lang.String getMessage()
Returns the message of this exception.- Overrides:
getMessagein classjava.lang.Throwable
-
getDebugMessage
@Nullable public @Nullable java.lang.String getDebugMessage()
Returns additional message for debugging,nullif not available.
-
getCause
@Nullable public @Nullable java.lang.Throwable getCause()
Returns the cause of this throwable ornullif the cause is nonexistent or unknown.- Overrides:
getCausein classjava.lang.Throwable
-
-