Package | Description |
---|---|
org.seedstack.seed |
Provides SeedStack main APIs.
|
org.seedstack.shed.exception |
Modifier and Type | Method and Description |
---|---|
static SeedException |
SeedException.createNew(ErrorCode errorCode)
Create a new SeedException from an
ErrorCode . |
static SeedException |
SeedException.wrap(Throwable throwable,
ErrorCode errorCode)
|
Constructor and Description |
---|
SeedException(ErrorCode errorCode) |
SeedException(ErrorCode errorCode,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
ErrorCode |
BaseException.getErrorCode()
Retrieve the
ErrorCode of this exception. |
Modifier and Type | Method and Description |
---|---|
static <E extends BaseException> |
BaseException.createNew(Class<E> exceptionType,
ErrorCode errorCode)
Create a new subclass of BaseException from an
ErrorCode . |
static <E extends BaseException> |
BaseException.wrap(Class<E> exceptionType,
Throwable throwable,
ErrorCode errorCode)
|
Constructor and Description |
---|
BaseException(ErrorCode errorCode)
Create a BaseException from an
ErrorCode . |
BaseException(ErrorCode errorCode,
Throwable cause)
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.