Name
ServiceException
Synopsis
public class ServiceException extends Exception {
// Public Constructors
public ServiceException( );
public ServiceException( Throwable cause);
public ServiceException( String message);
public ServiceException( String message, Throwable cause);
// Public Instance Methods
public Throwable getLinkedCause( );
// default:null
}ServiceException is a checked exception that is
thrown to report an error condition that arises during the invocation
of a method of the javax.xml.rpc.Service
interface. It may also be thrown from the init( )
method of a service implementation class that implements the
javax.xml.rpc.server.ServiceLifecycle interface.
Like JAXRPCException,
ServiceException may have either or both a text
message and a linked Throwable that describe the
cause of the error. These can only be set at construction time and
are retrieved using the getMessage( ) and
getLinkedCause( ) methods, respectively.
Thrown By
javax.xml.rpc.Service.{createCall( ),
getCalls( ), getPort( ),
getPorts( )},
ServiceFactory.{createService( ),
newInstance( )},
javax.xml.rpc.server.ServiceLifecycle.init( )
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access