com.adobe.cq.social.srp.APIException Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2014 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.adobe.cq.social.srp;
import java.util.List;
import org.apache.sling.api.resource.PersistenceException;
public class APIException extends PersistenceException {
/**
*
*/
private static final long serialVersionUID = 1L;
private final List codes;
private final List keys;
private final List methodTypes;
private final String message;
public APIException(final String message, final List codes, final List keys,
final List methodTypes) {
this.message = message;
this.codes = codes;
this.keys = keys;
this.methodTypes = methodTypes;
}
@Override
public String getMessage() {
return this.message;
}
public List getCodes() {
return this.codes;
}
public List getMethodTypes() {
return this.methodTypes;
}
public List getKeys() {
return this.keys;
}
}