ErrorConstants.java
01 package com.bea.medrec.utils;
02 
03 /**
04  <p>Error constants.</p>
05  *
06  @author Copyright (c) 2006 by BEA Systems. All Rights Reserved.
07  */
08 public class ErrorConstants {
09 
10   // Generic Messages
11   public static final String SYS_UNVAIL =
12     "System unavailable.  Please try again.";
13 
14   // EJBs
15   public static final String ADMIN_NOT_FOUND = "Admin not found.";
16   public static final String USER_NOT_FOUND = "User not found.";
17   public static final String PATIENT_NOT_FOUND = "Patient not found.";
18 
19   // XML
20   public static final String XML_PROCESS_ERROR =
21     "Unable to process XML document.  Please try again.";
22   public static final String XML_ERRONEOUS_DATA =
23     "Erroneous data found within XML document.  Please fix and try again.";
24   public static final String XML_ANOMALY =
25     "Anomaly found in XML document.  Please fix the XML and try again.";
26   public static final String XML_INVALID =
27     "Invalid start element.  Cannot handle this xml document.";
28 
29 }