public final class BambooSpecsPublishingException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
BambooSpecsPublishingException.ErrorType
Known possible failure types.
|
Constructor and Description |
---|
BambooSpecsPublishingException(RootEntityPropertiesBuilder<?> entityProperties,
BambooSpecsPublishingException.ErrorType errorType,
String message,
String debugMessage,
Throwable cause)
Creates an instance of the exception.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the cause of this throwable or
null if the cause is nonexistent or unknown. |
String |
getDebugMessage()
Returns additional message for debugging,
null if not available. |
BambooSpecsPublishingException.ErrorType |
getErrorType()
Get the type of encountered error or
null if unknown. |
String |
getMessage()
Returns the message of this exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BambooSpecsPublishingException(@NotNull RootEntityPropertiesBuilder<?> entityProperties, @Nullable BambooSpecsPublishingException.ErrorType errorType, @Nullable String message, @Nullable String debugMessage, @Nullable Throwable cause)
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)@Nullable public BambooSpecsPublishingException.ErrorType getErrorType()
null
if unknown.@NotNull public String getMessage()
getMessage
in class Throwable
@Nullable public String getDebugMessage()
null
if not available.Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.