1 22 23 package de.laures.cewolf.util; 24 25 import de.laures.cewolf.CewolfException; 26 27 32 public class RenderingException extends CewolfException { 33 34 private Throwable wrapped; 35 36 39 public RenderingException() { 40 super(); 41 } 42 43 47 public RenderingException(String msg) { 48 super(msg); 49 } 50 51 public RenderingException(Throwable ex){ 52 super(ex.getMessage()); 53 } 54 55 public void printStackTrace(){ 56 if(wrapped != null){ 57 wrapped.printStackTrace(); 58 } else { 59 super.printStackTrace(); 60 } 61 } 62 63 } 64 | Popular Tags |