package org.openrdf.alibaba.exceptions;

import java.io.PrintWriter;

public abstract class AlibabaException extends Exception {
	public abstract int getErrorCode();

	public AlibabaException() {
		super();
	}

	public AlibabaException(String arg0, Throwable arg1) {
		super(arg0, arg1);
	}

	public AlibabaException(String arg0) {
		super(arg0);
	}

	public AlibabaException(Throwable arg0) {
		super(arg0);
	}

	public String getContentType() {
		return "text/plain";
	}

	public void printContent(PrintWriter out) {
		printStackTrace(out);
	}
}

@@ -70,25 +70,16 @@
 %0Apublic 
-abstract 
 class Al
@@ -119,51 +119,130 @@
 %7B%0A%09p
-ublic abstract int getErrorCode();%0A%0A%09public
+rivate static final long serialVersionUID = -29297097148902079L;%0A%0A%09public int getErrorCode() %7B%0A%09%09return -1;%0A%09%7D%0A%0A%09protected
  Ali
@@ -268,37 +268,40 @@
 %09super();%0A%09%7D%0A%0A%09p
-ublic
+rotected
  AlibabaExceptio
@@ -352,37 +352,40 @@
 0, arg1);%0A%09%7D%0A%0A%09p
-ublic
+rotected
  AlibabaExceptio
@@ -422,21 +422,24 @@
 ;%0A%09%7D%0A%0A%09p
-ublic
+rotected
  Alibaba

Change AlibabaException to have protected constructor instead of abstract