public class SeedException extends BaseException
| Modifier | Constructor and Description |
|---|---|
protected |
SeedException(ErrorCode errorCode) |
protected |
SeedException(ErrorCode errorCode,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static SeedException |
createNew(ErrorCode errorCode)
Create a new SeedException from an
ErrorCode. |
static SeedException |
wrap(Throwable throwable,
ErrorCode errorCode)
|
createNew, get, getCauses, getDescription, getErrorCode, getFix, getProperties, getUrl, put, toString, wrapaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected SeedException(ErrorCode errorCode)
public static SeedException createNew(ErrorCode errorCode)
ErrorCode.errorCode - the error code to set.public static SeedException wrap(Throwable throwable, ErrorCode errorCode)
throwable - the existing throwable to wrap.errorCode - the error code to set.Copyright © 2013-2018–2019 SeedStack. All rights reserved.