package fi.nls.oskari.service;

public class ServiceException extends Exception {
    
	private static final long serialVersionUID = -3303389634376753825L;

	public ServiceException(final String message, final Exception e) {
        super(message, e);
    }

    public ServiceException(final String message) {
        super(message);
    }

}
@@ -25,16 +25,45 @@
 rvice;%0A%0A
+import org.json.JSONObject;%0A%0A
 public c
@@ -108,18 +108,48 @@
 n %7B%0A    
-%0A%09
+private JSONObject options;%0A    
 private 
@@ -310,17 +310,16 @@
 ;%0A    %7D%0A
-%0A
     publ
@@ -393,9 +393,218 @@
 %0A    %7D%0A%0A
-%7D
+    public ServiceException (final String message, final JSONObject options) %7B%0A        super(message);%0A        this.options = options;%0A    %7D%0A    public JSONObject getOptions() %7B%0A        return options;%0A    %7D%0A%7D%0A

add options for ServiceException