@@ -0,0 +1,711 @@
+package org.javaosc.galaxy.assist;%0A%0A/**%0A * %0A * @description%0A * @author Dylan Tao%0A * @date 2014-09-09 Copyright 2014 Javaosc Team. All Rights Reserved.%0A */%0Apublic class ServiceException extends RuntimeException %7B%0A%09%0A%09private static final long serialVersionUID = 8566978699237041746L;%0A%09%0A%09private long code;%0A%0A    public ServiceException(long code, String message) %7B%0A        this(code, message, null);%0A    %7D%0A%0A    public ServiceException(long code, Throwable cause) %7B%0A        this(code, null, cause);%0A    %7D%0A%0A    public ServiceException(long code, String message, Throwable cause) %7B%0A        super(message, cause);%0A        this.code = code;%0A    %7D%0A    %0A    public Long getErrorCode() %7B%0A        return this.code;%0A    %7D%0A%7D%0A

add service exception