org.hackystat.sensorbase.client
Class SensorBaseClientException

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

public class SensorBaseClientException
extends java.lang.Exception

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

Author:
Philip Johnson
See Also:
Serialized Form

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

SensorBaseClientException

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

Parameters:
status - The Status instance indicating the problem.

SensorBaseClientException

public SensorBaseClientException(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.

SensorBaseClientException

public SensorBaseClientException(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.

SensorBaseClientException

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

Parameters:
description - The problem description.