loanfund
Class ServiceRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by loanfund.ServiceRequestException
All Implemented Interfaces:
java.io.Serializable

public class ServiceRequestException
extends java.lang.Exception

This class is used when we need an Exception that should result in a RegisterFault message being sent instead of a ServiceResponse. The purpose is to store the error code which allows us to find the correct error message to send back to the mobile application.

Author:
Gunn Olaussen & Kirsti N. Torgersen
See Also:
Serialized Form

Constructor Summary
ServiceRequestException(java.lang.String errorCode)
          The Constructor call the Exception constructor with the error code as the message.
 
Method Summary
 
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

ServiceRequestException

public ServiceRequestException(java.lang.String errorCode)
The Constructor call the Exception constructor with the error code as the message.

Parameters:
errorCode - String The error code of the exception that occured