org.apache.synapse
Class SynapseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.synapse.SynapseException
All Implemented Interfaces:
Serializable

public class SynapseException
extends RuntimeException

Runtime exception for Synapse code to throw

See Also:
Serialized Form

Constructor Summary
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)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.