Cumulus4j API
(1.0.1)

org.cumulus4j.store.crypto.keymanager.rest
Class ErrorResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.cumulus4j.store.crypto.keymanager.rest.ErrorResponseException
All Implemented Interfaces:
Serializable

public class ErrorResponseException
extends Exception

Exception used to wrap and throw an ErrorResponse.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
See Also:
Serialized Form

Constructor Summary
ErrorResponseException(ErrorResponse errorResponse)
          Instantiate an ErrorResponseException for a given ErrorResponse.
 
Method Summary
 ErrorResponse getErrorResponse()
          Get the ErrorResponse wrapped by this exception.
 
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

ErrorResponseException

public ErrorResponseException(ErrorResponse errorResponse)
Instantiate an ErrorResponseException for a given ErrorResponse.

Parameters:
errorResponse - the ErrorResponse to be wrapped and thrown.
Method Detail

getErrorResponse

public ErrorResponse getErrorResponse()
Get the ErrorResponse wrapped by this exception.

Returns:
the ErrorResponse wrapped by this exception.

Cumulus4j API
(1.0.1)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.