public class InternalServerException extends InternalPluginException
Thread can`t throw any checked exceptions from run(), so it needs to be wrapped into RuntimeException.
| Constructor and Description |
|---|
InternalServerException(Throwable cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static InternalServerException |
wrap(Exception exceptionToWrap)
Wrap Exception in this class.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InternalServerException(Throwable cause)
cause - Throwable object.public static InternalServerException wrap(Exception exceptionToWrap)
exceptionToWrap - Exception object.Copyright © 2024 Amazon.com Inc.. All rights reserved.