1 15 package org.apache.tapestry.util.exception; 16 17 import java.io.Serializable ; 18 19 29 30 public class ExceptionDescription implements Serializable 31 { 32 36 37 private static final long serialVersionUID = -4874930784340781514L; 38 39 private String exceptionClassName; 40 private String message; 41 private ExceptionProperty[] properties; 42 private String [] stackTrace; 43 44 public ExceptionDescription( 45 String exceptionClassName, 46 String message, 47 ExceptionProperty[] properties, 48 String [] stackTrace) 49 { 50 this.exceptionClassName = exceptionClassName; 51 this.message = message; 52 this.properties = properties; 53 this.stackTrace = stackTrace; 54 } 55 56 public String getExceptionClassName() 57 { 58 return exceptionClassName; 59 } 60 61 public String getMessage() 62 { 63 return message; 64 } 65 66 public ExceptionProperty[] getProperties() 67 { 68 return properties; 69 } 70 71 public String [] getStackTrace() 72 { 73 return stackTrace; 74 } 75 } | Popular Tags |