1 18 19 20 package sync4j.framework.server.error; 21 22 import sync4j.framework.core.StatusCode; 23 import sync4j.framework.server.error.ServerException; 24 25 28 public class ServerFailureException extends ServerException { 29 public ServerFailureException(final String msg){ 30 this(msg, null); 31 } 32 33 public ServerFailureException(final Throwable cause) { 34 this("", cause); 35 } 36 37 public ServerFailureException(final String msg, final Throwable cause){ 38 super(StatusCode.SERVER_FAILURE, msg, cause); 39 } 40 } 41 | Popular Tags |