public class SynapseException extends RuntimeException
Runtime exception for Synapse code to throw
| Constructor and Description |
|---|
SynapseException(String string) |
SynapseException(String msg,
SynapseLog synLog)
Convenience constructor that allows to log and throw the exception in a single
instruction.
|
SynapseException(String msg,
Throwable e) |
SynapseException(String msg,
Throwable cause,
SynapseLog synLog)
Convenience constructor that allows to log and throw the exception in a single
instruction.
|
SynapseException(Throwable t) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SynapseException(String string)
public SynapseException(Throwable t)
public SynapseException(String msg, SynapseLog synLog)
SynapseLog.logSynapseException(String, Throwable)
to log the error.msg - synLog - public SynapseException(String msg, Throwable cause, SynapseLog synLog)
SynapseLog.logSynapseException(String, Throwable)
to log the error.msg - cause - synLog - Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.