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