org.apache.synapse
Class SynapseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.synapse.SynapseException
- All Implemented Interfaces:
- Serializable
public class SynapseException
- extends RuntimeException
Runtime exception for Synapse code to throw
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SynapseException
public SynapseException(String string)
SynapseException
public SynapseException(String msg,
Throwable e)
SynapseException
public SynapseException(Throwable t)
SynapseException
public SynapseException(String msg,
SynapseLog synLog)
- Convenience constructor that allows to log and throw the exception in a single
instruction. It will call
SynapseLog.logSynapseException(String, Throwable)
to log the error.
- Parameters:
msg
- synLog
-
SynapseException
public SynapseException(String msg,
Throwable cause,
SynapseLog synLog)
- Convenience constructor that allows to log and throw the exception in a single
instruction. It will call
SynapseLog.logSynapseException(String, Throwable)
to log the error.
- Parameters:
msg
- cause
- synLog
-
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.