public class EBErrorData extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
GENERIC
Constant used to specify a generic error.
|
static int |
SERVER
Constant used to specify an error that comes from the server.
|
| Constructor and Description |
|---|
EBErrorData(int type,
String errMsg)
Creates an instance of this data class.
|
EBErrorData(String errMsg)
Creates an instance of this data class.
|
public static final int GENERIC
public static final int SERVER
public EBErrorData(String errMsg)
errMsg - the error messagepublic EBErrorData(int type,
String errMsg)
type - the type of error message, either GENERIC or SERVERerrMsg - the error messagepublic String getErrorMessage()
Copyright © 2003, 2023, Oracle and/or its affiliates.