1 14 15 16 package org.jahia.exceptions; 17 18 19 24 public class TestException extends Exception 25 { 26 27 private JahiaException mExceptionCause = null; 28 private StringBuffer mStringBuffer = null; 29 30 31 35 public TestException () 36 { 37 mStringBuffer = new StringBuffer (); 38 } 39 40 44 public TestException (StringBuffer buffer, JahiaException ex) 45 { 46 mStringBuffer = buffer; 47 mExceptionCause = ex; 48 } 49 50 54 public TestException (StringBuffer buffer) 55 { 56 mStringBuffer = buffer; 57 } 58 59 60 67 public final JahiaException getExceptionCause () { 68 return mExceptionCause; 69 } 70 71 72 79 public final StringBuffer getStringBuffer () { 80 return mStringBuffer; 81 } 82 83 84 } 85 | Popular Tags |