com.licorize.api.client
Class LicorizeClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.licorize.api.client.LicorizeClientException
All Implemented Interfaces:
java.io.Serializable

public class LicorizeClientException
extends java.lang.RuntimeException

Author:
Federico Soldani - fsoldani@open-lab.com
See Also:
Serialized Form

Constructor Summary
LicorizeClientException()
          Constructs ...
LicorizeClientException(java.lang.String message)
          Constructs ...
LicorizeClientException(java.lang.String message, int statusCode, java.lang.String errorCode, java.util.Date timestamp)
          Constructs ...
LicorizeClientException(java.lang.String message, java.lang.Throwable cause)
          Constructs ...
LicorizeClientException(java.lang.Throwable cause)
          Constructs ...
 
Method Summary
 java.lang.String getErrorCode()
           
 int getStatusCode()
           
 java.util.Date getTimestamp()
           
 void setErrorCode(java.lang.String errorCode)
           
 void setStatusCode(int statusCode)
           
 void setTimestamp(java.util.Date timestamp)
           
 
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

LicorizeClientException

public LicorizeClientException()
Constructs ...


LicorizeClientException

public LicorizeClientException(java.lang.String message)
Constructs ...

Parameters:
message -

LicorizeClientException

public LicorizeClientException(java.lang.Throwable cause)
Constructs ...

Parameters:
cause -

LicorizeClientException

public LicorizeClientException(java.lang.String message,
                               java.lang.Throwable cause)
Constructs ...

Parameters:
message -
cause -

LicorizeClientException

public LicorizeClientException(java.lang.String message,
                               int statusCode,
                               java.lang.String errorCode,
                               java.util.Date timestamp)
Constructs ...

Parameters:
message -
cause -
Method Detail

getStatusCode

public int getStatusCode()
Returns:
the statusCode

setStatusCode

public void setStatusCode(int statusCode)
Parameters:
statusCode - the statusCode to set

getErrorCode

public java.lang.String getErrorCode()
Returns:
the errorCode

setErrorCode

public void setErrorCode(java.lang.String errorCode)
Parameters:
errorCode - the errorCode to set

getTimestamp

public java.util.Date getTimestamp()
Returns:
the timestamp

setTimestamp

public void setTimestamp(java.util.Date timestamp)
Parameters:
timestamp - the timestamp to set


Copyright © 2010. All Rights Reserved.