asjava.uniclientlibs
Class UniErrorMessage

java.lang.Object
  extended byasjava.uniclientlibs.UniErrorMessage

public abstract class UniErrorMessage
extends java.lang.Object

UniErrorMessage is a class used to determine a given error message given an ErrorCode to be displayed

Since:
UNICLIENTLIBS 1.0
Version:
Version 1.0
Author:
David T. Meeks

Method Summary
static java.lang.String getErrorMessage(int aErrorCode)
          returns the appropriate error message, depending on the error code passed in
static java.lang.String getErrorMessage(int aErrorCode, java.lang.String aExtraInfo)
          returns the appropriate error message, depending on the error code passed in
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getErrorMessage

public static java.lang.String getErrorMessage(int aErrorCode)
returns the appropriate error message, depending on the error code passed in

Parameters:
aErrorCode - integer representing which error message to display
Returns:
String representing the error message to be displayed
Since:
UNICLIENTLIBS 1.0

getErrorMessage

public static java.lang.String getErrorMessage(int aErrorCode,
                                               java.lang.String aExtraInfo)
returns the appropriate error message, depending on the error code passed in

Parameters:
aErrorCode - integer representing which error message to display
aExtraInfo - String used to represent additional information that might be relevant (file name, record name, etc...)
Returns:
String representing the error message to be displayed
Since:
UNICLIENTLIBS 1.0