org.cumulus4j.store.crypto.keymanager.rest
Class ErrorResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ErrorResponseException
public ErrorResponseException(ErrorResponse errorResponse)
- Instantiate an
ErrorResponseException
for a given ErrorResponse
.
- Parameters:
errorResponse
- the ErrorResponse
to be wrapped and thrown.
getErrorResponse
public ErrorResponse getErrorResponse()
- Get the
ErrorResponse
wrapped by this exception.
- Returns:
- the
ErrorResponse
wrapped by this exception.
Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.