1 18 package org.apache.beehive.netui.script; 19 20 22 24 26 29 public abstract class RuntimeExpressionException 30 extends RuntimeException { 31 32 private String localizedMessage = null; 33 34 public RuntimeExpressionException() { 35 super(); 36 } 37 38 public RuntimeExpressionException(String message) { 39 super(message); 40 } 41 42 public RuntimeExpressionException(String message, Throwable cause) { 43 super(message, cause); 44 } 45 46 public RuntimeExpressionException(Throwable cause) { 47 super(cause); 48 } 49 50 public void setLocalizedMessage(String localizedMessage) { 51 this.localizedMessage = localizedMessage; 52 } 53 54 public String getLocalizedMessage() { 55 return (localizedMessage != null ? localizedMessage : getMessage()); 56 } 57 } 58 | Popular Tags |