org.hackystat.dailyprojectdata.client
Class DailyProjectDataClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.hackystat.dailyprojectdata.client.DailyProjectDataClientException
All Implemented Interfaces:
java.io.Serializable

public class DailyProjectDataClientException
extends java.lang.Exception

An exception that is thrown when the DailyProjectData server does not return a success code.

Author:
Philip Johnson
See Also:
Serialized Form

Constructor Summary
DailyProjectDataClientException(org.restlet.data.Status status)
          Thrown when an unsuccessful status code is returned from the Server.
DailyProjectDataClientException(org.restlet.data.Status status, java.lang.Throwable error)
          Thrown when an unsuccessful status code is returned from the Server.
DailyProjectDataClientException(java.lang.String description)
          Thrown when some problem occurs with Client not involving the server.
DailyProjectDataClientException(java.lang.String description, java.lang.Throwable error)
          Thrown when some problem occurs with Client not involving the server.
 
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

DailyProjectDataClientException

public DailyProjectDataClientException(org.restlet.data.Status status)
Thrown when an unsuccessful status code is returned from the Server.

Parameters:
status - The Status instance indicating the problem.

DailyProjectDataClientException

public DailyProjectDataClientException(org.restlet.data.Status status,
                                       java.lang.Throwable error)
Thrown when an unsuccessful status code is returned from the Server.

Parameters:
status - The status instance indicating the problem.
error - The previous error.

DailyProjectDataClientException

public DailyProjectDataClientException(java.lang.String description,
                                       java.lang.Throwable error)
Thrown when some problem occurs with Client not involving the server.

Parameters:
description - The problem description.
error - The previous error.

DailyProjectDataClientException

public DailyProjectDataClientException(java.lang.String description)
Thrown when some problem occurs with Client not involving the server.

Parameters:
description - The problem description.