no.feide.moria.servlet.soap
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by no.feide.moria.servlet.soap.SOAPException
              extended by no.feide.moria.servlet.soap.ServerException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthenticationUnavailableException, InternalException

public abstract class ServerException
extends SOAPException

The superclass for all exceptions that should result in a SOAP Fault message with faultcode Server

Author:
Cato Olsen
See Also:
Serialized Form

Constructor Summary
ServerException(java.lang.String msg)
          Default constructor.
 
Method Summary
 java.lang.String getFaultcode()
          Gives the SOAP Faultcode for the exception (the value of the faultCode element in the SOAP reply).
 
Methods inherited from class no.feide.moria.servlet.soap.SOAPException
getFaultstring
 
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

ServerException

public ServerException(java.lang.String msg)
Default constructor.

Parameters:
msg - The exception message.
Method Detail

getFaultcode

public java.lang.String getFaultcode()
Gives the SOAP Faultcode for the exception (the value of the faultCode element in the SOAP reply).

Specified by:
getFaultcode in class SOAPException
Returns:
The SOAP Faultcode for the exception, in this case always "Server".


Copyright © 2001-2006 UNINETT FAS. All Rights Reserved.