Novell exteNd Web Services SDK API

com.sssw.jbroker.web
Class ServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.sssw.jbroker.web.ServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MarshalerNotFoundException, MarshalerNotFoundException

public class ServiceException
extends RuntimeException

The ServiceException is the common superclass for a any Service Exception.

See Also:
Serialized Form

Constructor Summary
ServiceException(String message)
          Constructs a ServiceException with the specified detail message.
ServiceException(String faultCode, String faultString)
          Constructs a ServiceException with the specified fault information.
ServiceException(Throwable targetEx)
          Constructs a ServiceException with the specified nested exception.
 
Method Summary
 Throwable getTargetException()
          Get the nested exception.
static RemoteException mapToRemote(Throwable t)
          Map a given Exception to a RemoteException.
 
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

ServiceException

public ServiceException(String message)
Constructs a ServiceException with the specified detail message.


ServiceException

public ServiceException(String faultCode,
                        String faultString)
Constructs a ServiceException with the specified fault information.


ServiceException

public ServiceException(Throwable targetEx)
Constructs a ServiceException with the specified nested exception.

Method Detail

getTargetException

public Throwable getTargetException()
Get the nested exception.


mapToRemote

public static RemoteException mapToRemote(Throwable t)
Map a given Exception to a RemoteException. If the exception is a ServiceException, then the target exception is mapped instead.


Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.