javax.xml.rpc
Class ServiceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.xml.rpc.ServiceException
All Implemented Interfaces:
java.io.Serializable

public class ServiceException
extends java.lang.Exception

The javax.xml.rpc.ServiceException is thrown from the core JAX-RPC APIs to indicate exceptions related to Service and ServiceFactory calls.

Version:
0.1
See Also:
Serialized Form

Constructor Summary
ServiceException()
          Constructs a new exception with null as its detail message.
ServiceException(java.lang.String message)
          Constructs a new exception with the specified detail message.
ServiceException(java.lang.String message, java.lang.Throwable cause)
          Contructs a new exception with the specified detail message and wraps another exception.
ServiceException(java.lang.Throwable cause)
          Constructs a new exception which wraps another exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the exception wrapped by this ServiceException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceException

public ServiceException()
Constructs a new exception with null as its detail message.

ServiceException

public ServiceException(java.lang.String message)
Constructs a new exception with the specified detail message.
Parameters:
message - exception message

ServiceException

public ServiceException(java.lang.Throwable cause)
Constructs a new exception which wraps another exception.
Parameters:
cause - the exception to wrap

ServiceException

public ServiceException(java.lang.String message,
                        java.lang.Throwable cause)
Contructs a new exception with the specified detail message and wraps another exception.
Parameters:
message - exception message
cause - the exception to wrap
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the exception wrapped by this ServiceException
Returns:
exception or null if none.


Copyright © 2001 Apache XML Project. All Rights Reserved.