com.activitystream.model.validation.CoreException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of as-sdk Show documentation
Show all versions of as-sdk Show documentation
AS-SDK is a java library to allow easy interoperability with Activity Stream.
package com.activitystream.model.validation;
import java.util.LinkedHashMap;
import java.util.Map;
public class CoreException extends RuntimeException {
private Map params = new LinkedHashMap<>();
public CoreException(String error, Map extends String, ?> params) {
super(error + ": " + params);
this.params.put("_error", error);
this.params.putAll(params);
}
public Map getParams() {
return params;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy