1 18 package org.apache.roller.webservices.atomprotocol; 19 20 import javax.servlet.http.HttpServletResponse ; 21 import org.apache.roller.RollerException; 22 23 26 public class AtomException extends Exception { 27 public AtomException() { 28 super(); 29 } 30 public AtomException(String msg) { 31 super(msg); 32 } 33 public AtomException(String msg, Throwable t) { 34 super(msg, t); 35 } 36 public AtomException(Throwable t) { 37 super(t); 38 } 39 public int getStatus() { 40 return HttpServletResponse.SC_INTERNAL_SERVER_ERROR; 41 } 42 } 43 | Popular Tags |