|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.upv.dsic.gti_ia.trace.TraceError
public class TraceError
Specification of error messages related to the trace support
| Field Summary | |
|---|---|
static int |
AUTHORIZATION_ERROR
Unauthorized to do so |
static int |
BAD_ENTITY
Tracing entity not correct |
static int |
BAD_SERVICE
Tracing service not correct |
static int |
ENTITY_DUPLICATE
Tracing entity already present in the system |
static int |
ENTITY_NOT_FOUND
Tracing entity not present in the system |
static int |
MAX_TRACE_ERROR
Number of available trace error messages |
static int |
PROVIDER_NOT_FOUND
Provider is not offering the tracing service |
static int |
PUBLISH_ERROR
Impossible to publish the tracing service |
static int |
SERVICE_DUPLICATE
Tracing service already offered by the tracing entity |
static int |
SERVICE_NOT_FOUND
Tracing service not offered by any entity in the system |
static int |
SUBSCRIPTION_DUPLICATE
Subscription already exists |
static int |
SUBSCRIPTION_ERROR
Impossible to subscribe to the tracing service |
static int |
SUBSCRIPTION_NOT_FOUND
Subscription to the tracing service not found |
static int |
TRACE_ERROR
Undefined trace error |
static TraceError[] |
TraceErrors
Array of available trace error messages |
static int |
UNPUBLISH_ERROR
Impossible to unpublish the tracing service |
static int |
UNSUBSCRIPTION_ERROR
Impossible to unsubscribe from tracing service |
| Constructor Summary | |
|---|---|
TraceError(String name,
String description)
Constructor which creates a trace error message with the specified name and description |
|
| Method Summary | |
|---|---|
String |
getDescription()
Returns the description of the errormessage |
String |
getName()
Returns the identifier name of the error message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TRACE_ERROR
public static final int ENTITY_NOT_FOUND
public static final int PROVIDER_NOT_FOUND
public static final int SERVICE_NOT_FOUND
public static final int SUBSCRIPTION_NOT_FOUND
public static final int ENTITY_DUPLICATE
public static final int SERVICE_DUPLICATE
public static final int SUBSCRIPTION_DUPLICATE
public static final int BAD_ENTITY
public static final int BAD_SERVICE
public static final int PUBLISH_ERROR
public static final int UNPUBLISH_ERROR
public static final int SUBSCRIPTION_ERROR
public static final int UNSUBSCRIPTION_ERROR
public static final int AUTHORIZATION_ERROR
public static final int MAX_TRACE_ERROR
public static final TraceError[] TraceErrors
| Constructor Detail |
|---|
public TraceError(String name,
String description)
name - Identifier name of the error messagedescription - Human readable description of the error| Method Detail |
|---|
public String getName()
public String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||