public class InitializeException extends AnchorFriendlyCheckedException
Constructor and Description |
---|
InitializeException(String message)
Creates with a message, but without a cause.
|
InitializeException(String message,
Throwable cause)
Creates with message and cause.
|
InitializeException(Throwable cause)
Creates with a cause, but without a message.
|
Modifier and Type | Method and Description |
---|---|
static InitializeException |
createOrReuse(Throwable exception)
Wraps exception in a
InitializeException , unless it already its cause is a InitializeException . |
friendlyMessage, friendlyMessageHierarchy, friendlyMessageHierarchy, stackTrace
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InitializeException(String message)
message
- the message.public InitializeException(Throwable cause)
cause
- the cause.public static InitializeException createOrReuse(Throwable exception)
InitializeException
, unless it already its cause is a InitializeException
.exception
- the existing exception to consider wrapping.InitializeException
, or the cause
of exception
if it's already a InitializeException
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.