Version: ${maven.project.version}

org.soaplab.share
Class SoaplabException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.soaplab.share.SoaplabException
All Implemented Interfaces:
java.io.Serializable

@WebFault(name="SoaplabException",
          targetNamespace="http://org.soaplab.2",
          faultBean="SoaplabExceptionBean")
public class SoaplabException
extends java.lang.Exception

A general exception which can be used as a wrapper around other exceptions.

Version:
$Id: SoaplabException.java,v 1.8 2009/06/26 13:49:29 mahmutuludag Exp $
Author:
Martin Senger
See Also:
Serialized Form

Constructor Summary
SoaplabException(java.lang.String s)
          A constructor specifying a reason for this exception.
SoaplabException(java.lang.String message, SoaplabExceptionBean faultInfo)
           
SoaplabException(java.lang.String message, SoaplabExceptionBean faultInfo, java.lang.Throwable cause)
           
SoaplabException(java.lang.String s, java.lang.Throwable e)
          A constructor allowing to chain exceptions.
 
Method Summary
static void formatAndLog(java.lang.Throwable e, org.apache.commons.logging.Log log)
          Format given exception 'e' depending on how serious it it.
 SoaplabExceptionBean getFaultInfo()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoaplabException

public SoaplabException(java.lang.String s)
A constructor specifying a reason for this exception.

Parameters:
s - message/reason

SoaplabException

public SoaplabException(java.lang.String s,
                        java.lang.Throwable e)
A constructor allowing to chain exceptions.

Parameters:
s - message (or reason of)
e - original cause of this exception

SoaplabException

public SoaplabException(java.lang.String message,
                        SoaplabExceptionBean faultInfo)
Parameters:
faultInfo -
message -

SoaplabException

public SoaplabException(java.lang.String message,
                        SoaplabExceptionBean faultInfo,
                        java.lang.Throwable cause)
Parameters:
faultInfo -
message -
cause -
Method Detail

formatAndLog

public static void formatAndLog(java.lang.Throwable e,
                                org.apache.commons.logging.Log log)
Format given exception 'e' depending on how serious it it. In same cases add stack trace. Log the result in the given 'log'.

Parameters:
e - an exception to be formatted and logged
log - where to log it

getFaultInfo

public SoaplabExceptionBean getFaultInfo()
Returns:
returns fault bean: org.soaplab.client.jaxws.SoaplabException

Version: ${maven.project.version}

Submit a bug or feature
Generated: Tue Jun 14 15:18:14 AST 2011