*
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.onap.aai.sparky.dal.cache;
-
-import org.onap.aai.sparky.dal.rest.OperationResult;
+package org.onap.aai.sparky.editattributes.exception;
/**
- * The Interface EntityCache.
- *
- * @author davea.
+ * The Class AttributeUpdateException.
*/
-public interface EntityCache {
+public class AttributeUpdateException extends Exception {
- /**
- * Gets the.
- *
- * @param entityKey the entity key
- * @param link the link
- * @return the operation result
- */
- public OperationResult get(String entityKey, String link);
+ private static final long serialVersionUID = 1L;
/**
- * Put.
+ * Attribute Edit specific Exception Class.
*
- * @param entityKey the entity key
- * @param result the result
+ * @param exc the exc
*/
- public void put(String entityKey, OperationResult result);
+
+ public AttributeUpdateException(Exception exc) {
+ super(exc);
+ }
/**
- * Shutdown.
+ * Instantiates a new attribute update exception.
+ *
+ * @param message the message
*/
- public void shutdown();
+ public AttributeUpdateException(String message) {
+ super(message);
+ }
/**
- * Clear.
+ * Instantiates a new attribute update exception.
+ *
+ * @param message the message
+ * @param exc the exc
*/
- public void clear();
+ public AttributeUpdateException(String message, Exception exc) {
+ super(message, exc);
+ }
}