public interface ErrorCode
All the error codes which identify the exceptions thrown by WUIC.
| Modifier and Type | Field and Description | 
|---|---|
static long | 
BAD_ARGUMENT_EXCEPTION
An argument is not of an expected state or is null while it should. 
 | 
static long | 
BAD_STATE_EXCEPTION
A state is not of an expected state or is null while it should. 
 | 
static long | 
BUILDER_PROPERTY_NOT_SUPPORTED
Indicates that a property defined in  
ApplicationConfig is not supported by an
 AbstractObjectBuilder. | 
static long | 
IO_ERROR
An IO error has occurred. 
 | 
static long | 
NUT_NOT_FOUND
Indicates that a nut has not been found. 
 | 
static long | 
POLLING_NOT_SUPPORTED_EXCEPTION
NutDao polling feature is not supported. | 
static long | 
SAVE_NOT_SUPPORTED_EXCEPTION
NutDao.save(com.github.wuic.nut.Nut) is not supported. | 
static long | 
STATIC_WORKFLOW_NOT_FOUND
Indicates that the  
StaticEngine did not found a retrieved workflow. | 
static long | 
UNABLE_TO_INSTANTIATE
An expected class could not be instantiated with an actual value. 
 | 
static long | 
WORKFLOW_IDENTIFIER
Indicates that a workflow doesn't define one and only one of its 'id' and 'idPrefix' attributes. 
 | 
static long | 
WORKFLOW_NOT_FOUND
Indicates that a workflow has not been found. 
 | 
static long | 
WORKFLOW_TEMPLATE_NOT_FOUND
Indicates that a workflow template has not been found. 
 | 
static long | 
XML_BAD_REF_TO_DAO_BUILDER
A reference is made to a non existing dao builder. 
 | 
static long | 
XML_BAD_TYPE_OF_VALUE
A value defined in the wuic.xml is not convertible into a mandatory type. 
 | 
static long | 
XML_CANNOT_READ
Default code when the wuic.xml path can't be read. 
 | 
static long | 
XML_MISSING_CONFIGURATION_ELEMENT
Not all required elements have been defined for a configuration in the wuic.xml path. 
 | 
static long | 
XML_NO_CONFIGURATION_ID
No configuration ID has been defined for a configuration in the wuic.xml path. 
 | 
static long | 
XML_NO_NUT_DAO_BUILDER_CLASS
No class has been defined for a nut dao builder in the wuic.xml path. 
 | 
static long | 
XML_NO_NUT_DAO_BUILDER_ID
No id has been defined for a nut DAO builder in the wuic.xml path. 
 | 
static long | 
XML_UNABLE_TO_INSTANTIATE
An expected class could not be instantiated with an actual value. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getErrorCode()
 Gets the error code. 
 | 
String | 
getMessage()
 Gets the message related to the error code. 
 | 
static final long IO_ERROR
static final long UNABLE_TO_INSTANTIATE
ClassNotFoundException or any exception related to instantiation.static final long BAD_ARGUMENT_EXCEPTION
static final long SAVE_NOT_SUPPORTED_EXCEPTION
NutDao.save(com.github.wuic.nut.Nut) is not supported.static final long POLLING_NOT_SUPPORTED_EXCEPTION
NutDao polling feature is not supported.static final long BAD_STATE_EXCEPTION
static final long XML_CANNOT_READ
static final long XML_NO_CONFIGURATION_ID
static final long XML_NO_NUT_DAO_BUILDER_ID
static final long XML_MISSING_CONFIGURATION_ELEMENT
static final long XML_NO_NUT_DAO_BUILDER_CLASS
static final long XML_UNABLE_TO_INSTANTIATE
ClassNotFoundException or any exception related to instantiation.static final long XML_BAD_TYPE_OF_VALUE
static final long XML_BAD_REF_TO_DAO_BUILDER
static final long NUT_NOT_FOUND
static final long WORKFLOW_NOT_FOUND
static final long BUILDER_PROPERTY_NOT_SUPPORTED
ApplicationConfig is not supported by an
 AbstractObjectBuilder.static final long STATIC_WORKFLOW_NOT_FOUND
StaticEngine did not found a retrieved workflow.static final long WORKFLOW_TEMPLATE_NOT_FOUND
static final long WORKFLOW_IDENTIFIER
long getErrorCode()
Gets the error code.
String getMessage()
Gets the message related to the error code.
Copyright © 2012-2015. All Rights Reserved.