Class EBErrorData

java.lang.Object
com.portal.browse.EBErrorData
All Implemented Interfaces:
Serializable

public class EBErrorData extends Object implements Serializable
This class contains information for a specific error encountered when using event browser.
Version:
%version: 2 % %date_modified: Mon Oct 09 11:39:39 2000 %
Author:
mgaines
See Also:
  • Field Details

    • GENERIC

      public static final int GENERIC
      Constant used to specify a generic error.
      See Also:
    • SERVER

      public static final int SERVER
      Constant used to specify an error that comes from the server.
      See Also:
  • Constructor Details

    • EBErrorData

      public EBErrorData(String errMsg)
      Creates an instance of this data class. This defaults to an error type of generic.
      Parameters:
      errMsg - the error message
    • EBErrorData

      public EBErrorData(int type, String errMsg)
      Creates an instance of this data class. This defaults to an error type of generic.
      Parameters:
      type - the type of error message, either GENERIC or SERVER
      errMsg - the error message
  • Method Details

    • getErrorMessage

      public String getErrorMessage()
      Returns:
      the error message