View Javadoc
1 /*** 2 * Copyright (c) 2003 Booz|Allen|Hamilton 3 * 4 * This software and documentation is the confidential and proprietary 5 * information of Booz|Allen|Hamilton. Booz|Allen|Hamilton 6 * makes no representation or warranties about the suitability of the 7 * software, either expressed or implied. It is subject to change 8 * without notice. 9 * 10 * U.S. and international copyright laws protect this material. No part 11 * of this material may be reproduced, published, disclosed, or 12 * transmitted in any form or by any means, in whole or in part, without 13 * the prior written permission of Booz|Allen|Hamilton. 14 */ 15 package net.mlw.fball.gui.events; 16 17 import net.mlw.fball.event.Event; 18 import net.mlw.fball.gui.AppContext; 19 20 /*** 21 * 22 * @author Matthew L. Wilson 23 * @version $Revision: 1.1 $ $Date: 2004/03/01 15:31:43 $ 24 */ 25 public class ErrorEvent implements Event 26 { 27 private String code; 28 29 public ErrorEvent(String code) 30 { 31 this.code = code; 32 } 33 34 /*** @see java.lang.Object#toString() 35 */ 36 public String toString() 37 { 38 return AppContext.getMessage(code); 39 } 40 41 }

This page was automatically generated by Maven