All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.activitystream.model.validation.CoreException Maven / Gradle / Ivy

Go to download

AS-SDK is a java library to allow easy interoperability with Activity Stream.

There is a newer version: 0.1.25
Show newest version
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 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