1 package net.sf.invicta.template; 2 3 import net.sf.invicta.InvictaException; 4 5 8 public class InvictaTemplateException extends InvictaException { 9 protected String formatAttempt; 10 protected Throwable cause; 11 12 15 public InvictaTemplateException(String message) { 16 super(message); 17 } 18 19 24 public InvictaTemplateException(String message, String formatAttempt) { 25 super(message); 26 this.formatAttempt = formatAttempt; 27 } 28 29 35 public InvictaTemplateException(String message, Throwable cause, String formatAttempt) { 36 super(message); 37 this.formatAttempt = formatAttempt; 38 this.cause = cause; 39 } 40 41 45 public String getFormatAttempt() { 46 return formatAttempt; 47 } 48 49 53 public Throwable getCause() { 54 return this.cause; 55 } 56 57 } 58 | Popular Tags |