public class StashException extends RuntimeException
Exception may be triggered by many errors so it accepts list of errors
| Constructor and Description |
|---|
StashException(List<StashError> errors) |
StashException(String message) |
StashException(String message,
Throwable cause) |
StashException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
List<StashError> |
getErrors() |
static List<StashError> |
toErrors(String message) |
static List<StashError> |
toErrors(String message,
Throwable e) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic StashException(String message)
public StashException(Throwable cause)
public StashException(List<StashError> errors)
public List<StashError> getErrors()
public static List<StashError> toErrors(String message)
public static List<StashError> toErrors(String message, Throwable e)
Copyright © 2020 Atlassian. All rights reserved.