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 33 public class BadRequestException extends ServerException 34 { 35 36 public BadRequestException(final String msg){ 37 this(msg, null); 38 } 39 40 public BadRequestException(final Throwable cause) { 41 this("", cause); 42 } 43 44 public BadRequestException(final String msg, final Throwable cause){ 45 super(StatusCode.BAD_REQUEST, msg, cause); 46 } 47 } | Popular Tags |