1 51 package org.apache.fop.viewer; 52 53 import java.lang.Exception ; 54 55 66 public class MessageException extends Exception { 67 68 72 protected Exception exception; 73 74 77 protected String messageId; 78 79 82 protected String [] parameterList; 83 84 85 87 public MessageException() { 88 this("UNKNOWN_EXCEPTION"); 89 } 90 91 public MessageException(String aMessageId) { 92 this(aMessageId, null); 93 } 94 95 public MessageException(String aMessageId, String [] aParameterList) { 96 this(aMessageId, aParameterList, null); 97 } 98 99 public MessageException(String aMessageId, String [] aParameterList, 100 Exception anException) { 101 super(aMessageId); 102 messageId = aMessageId; 103 parameterList = aParameterList; 104 exception = anException; 105 } 106 107 109 public String getMessageId() { 110 return messageId; 111 } 112 113 public String [] getParameterList() { 114 return parameterList; 115 } 116 117 public Exception getException() { 118 return exception; 119 } 120 121 } 122 | Popular Tags |