|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xmlBlaster.util.def.ErrorCode
public final class ErrorCode
This class holds an enumeration error codes.
If you need new error code add it here following the same schema.
The documentation is created by examining this class with it links.
Method Summary | |
---|---|
boolean |
equals(ErrorCode other)
|
static ErrorCode |
getCategory(ErrorCode errorCode)
|
static ErrorCode |
getCategory(java.lang.String errorCode)
|
java.lang.String |
getDescription()
Returns the description of the errorCode. |
java.lang.String |
getErrorCode()
Returns the errorCode string. |
java.lang.String |
getLongDescription()
Returns the description of the errorCode including the online link with further explanations. |
org.xmlBlaster.util.def.ResourceInfo[] |
getResourceInfos()
Return resource info object telling us where to find more information on this errorCode |
java.lang.String |
getUrl()
The link to find more information about this problem |
boolean |
isOfType(ErrorCode baseCode)
Returns 'true' if this error code is a 'child' of the error code specified in baseCode. |
static void |
main(java.lang.String[] args)
Generate a requirement file for all error codes. |
static ErrorCode |
toErrorCode(java.lang.String errorCode)
Returns the ErrorCode object for the given String error code. |
static ErrorCode |
toErrorCode(java.lang.String errorCode,
ErrorCode fallback)
Returns the ErrorCode object for the given String error code. |
static java.lang.String |
toHtmlTable()
Generate a HTML table listing of all error codes. |
static java.lang.String |
toPlainList()
Dump a plain list of all errorCodes. |
static java.lang.String |
toRequirement()
|
java.lang.String |
toString()
Return a human readable string of the errorCode and description |
java.lang.String |
toXml(java.lang.String extraOffset)
|
static java.lang.String |
toXmlAll(java.lang.String extraOffset)
|
java.lang.Object |
writeReplace()
This code is a helper for serialization so that after deserial the check |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ErrorCode LEGACY
public static final ErrorCode INTERNAL
public static final ErrorCode INTERNAL_UNKNOWN
public static final ErrorCode INTERNAL_NULLPOINTER
public static final ErrorCode INTERNAL_ILLEGALARGUMENT
public static final ErrorCode INTERNAL_INTERRUPTED
public static final ErrorCode INTERNAL_NOTIMPLEMENTED
public static final ErrorCode INTERNAL_CONNECTIONFAILURE
public static final ErrorCode INTERNAL_ILLEGALSTATE
public static final ErrorCode INTERNAL_DISCONNECT
public static final ErrorCode INTERNAL_SUBSCRIBE
public static final ErrorCode INTERNAL_UNSUBSCRIBE
public static final ErrorCode INTERNAL_PUBLISH
public static final ErrorCode INTERNAL_PUBLISH_ARR
public static final ErrorCode INTERNAL_ERASE
public static final ErrorCode INTERNAL_GET
public static final ErrorCode INTERNAL_STOP
public static final ErrorCode RESOURCE
public static final ErrorCode RESOURCE_MAINTENANCE
public static final ErrorCode RESOURCE_OUTOFMEMORY
public static final ErrorCode RESOURCE_TOO_MANY_THREADS
public static final ErrorCode RESOURCE_EXHAUST
public static final ErrorCode RESOURCE_CALLBACKSERVER_CREATION
public static final ErrorCode RESOURCE_OVERFLOW_QUEUE_BYTES
public static final ErrorCode RESOURCE_OVERFLOW_QUEUE_ENTRIES
public static final ErrorCode RESOURCE_UNAVAILABLE
public static final ErrorCode RESOURCE_TEMPORARY_UNAVAILABLE
public static final ErrorCode RESOURCE_DB_UNAVAILABLE
public static final ErrorCode RESOURCE_DB_BLOCK
public static final ErrorCode RESOURCE_DB_UNKNOWN
public static final ErrorCode RESOURCE_ADMIN_UNAVAILABLE
public static final ErrorCode RESOURCE_CONFIGURATION
public static final ErrorCode RESOURCE_CONFIGURATION_CONNECT
public static final ErrorCode RESOURCE_CONFIGURATION_PLUGINFAILED
public static final ErrorCode RESOURCE_CONFIGURATION_XML
public static final ErrorCode RESOURCE_CONFIGURATION_SSLSOCKET
public static final ErrorCode RESOURCE_CONFIGURATION_ADDRESS
public static final ErrorCode RESOURCE_FILEIO
public static final ErrorCode RESOURCE_FILEIO_FILELOST
public static final ErrorCode RESOURCE_CLUSTER_NOTAVAILABLE
public static final ErrorCode RESOURCE_CLUSTER_CIRCULARLOOP
public static final ErrorCode COMMUNICATION
public static final ErrorCode COMMUNICATION_RESOURCE_TEMPORARY_UNAVAILABLE
public static final ErrorCode COMMUNICATION_NOCONNECTION
public static final ErrorCode COMMUNICATION_TIMEOUT
public static final ErrorCode COMMUNICATION_RESPONSETIMEOUT
public static final ErrorCode COMMUNICATION_FORCEASYNC
public static final ErrorCode COMMUNICATION_NOCONNECTION_SERVERDENY
public static final ErrorCode COMMUNICATION_NOCONNECTION_CALLBACKSERVER_NOTAVAILABLE
public static final ErrorCode COMMUNICATION_NOCONNECTION_POLLING
public static final ErrorCode COMMUNICATION_NOCONNECTION_DEAD
public static final ErrorCode COMMUNICATION_USER_HOLDBACK
public static final ErrorCode USER
public static final ErrorCode USER_UPDATE_HOLDBACK
public static final ErrorCode USER_UPDATE_DEADMESSAGE
public static final ErrorCode USER_WRONG_API_USAGE
public static final ErrorCode USER_CONFIGURATION
public static final ErrorCode USER_VERSION
public static final ErrorCode USER_CONFIGURATION_MAXSESSION
public static final ErrorCode USER_CONFIGURATION_IDENTICALCLIENT
public static final ErrorCode USER_SECURITY
public static final ErrorCode USER_SECURITY_AUTHENTICATION
public static final ErrorCode USER_SECURITY_AUTHENTICATION_ACCESSDENIED
public static final ErrorCode USER_SECURITY_AUTHENTICATION_ILLEGALDEVICEID
public static final ErrorCode USER_SECURITY_AUTHENTICATION_ILLEGALDEVICETYPE
public static final ErrorCode USER_SECURITY_AUTHENTICATION_ACCESSDENIED_UNKNOWNLOGINNAME
public static final ErrorCode USER_SECURITY_AUTHENTICATION_ACCESSDENIED_WRONGPASSWORD
public static final ErrorCode USER_SECURITY_AUTHENTICATION_INACTIVE
public static final ErrorCode USER_SECURITY_AUTHENTICATION_EXPIRED
public static final ErrorCode USER_SECURITY_AUTHENTICATION_ILLEGALARGUMENT
public static final ErrorCode USER_SECURITY_AUTHORIZATION_NOTAUTHORIZED
public static final ErrorCode USER_UPDATE_ERROR
public static final ErrorCode USER_UPDATE_INTERNALERROR
public static final ErrorCode USER_UPDATE_ILLEGALARGUMENT
public static final ErrorCode USER_ILLEGALARGUMENT
public static final ErrorCode USER_UPDATE_SECURITY_AUTHENTICATION_ACCESSDENIED
public static final ErrorCode USER_PUBLISH_READONLY
public static final ErrorCode USER_SUBSCRIBE_ID
public static final ErrorCode USER_SUBSCRIBE_NOCALLBACK
public static final ErrorCode USER_OID_UNKNOWN
public static final ErrorCode USER_JDBC_INVALID
public static final ErrorCode USER_CONNECT
public static final ErrorCode USER_CONNECT_MULTIPLE
public static final ErrorCode USER_NOT_CONNECTED
public static final ErrorCode USER_PUBLISH
public static final ErrorCode USER_PTP_UNKNOWNSESSION
public static final ErrorCode USER_PTP_UNKNOWNDESTINATION
public static final ErrorCode USER_PTP_UNKNOWNDESTINATION_SESSION
public static final ErrorCode USER_PTP_DENIED
public static final ErrorCode USER_MESSAGE_INVALID
public static final ErrorCode USER_QUERY_INVALID
public static final ErrorCode USER_ADMIN_INVALID
public static final ErrorCode USER_QUERY_TYPE_INVALID
public static final ErrorCode USER_CLIENTCODE
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public final boolean isOfType(ErrorCode baseCode)
baseCode
- the base ErrorCode to check against. If null, false is
returned.
public java.lang.String getErrorCode()
public java.lang.String getDescription()
public java.lang.String getLongDescription()
public java.lang.String getUrl()
public org.xmlBlaster.util.def.ResourceInfo[] getResourceInfos()
public static ErrorCode getCategory(ErrorCode errorCode)
public static ErrorCode getCategory(java.lang.String errorCode)
public static final ErrorCode toErrorCode(java.lang.String errorCode) throws java.lang.IllegalArgumentException
errorCode
- The String code to lookup
java.lang.IllegalArgumentException
- if the given errorCode is invalidpublic static final ErrorCode toErrorCode(java.lang.String errorCode, ErrorCode fallback)
errorCode
- The String code to lookupthe
- code to use if errorCode is not known
public final boolean equals(ErrorCode other)
public static java.lang.String toPlainList()
public static java.lang.String toHtmlTable()
public static java.lang.String toRequirement()
public static java.lang.String toXmlAll(java.lang.String extraOffset)
public java.lang.String toXml(java.lang.String extraOffset)
public java.lang.Object writeReplace() throws java.io.ObjectStreamException
ErrorCode.INTERNAL_UNKNOWN == internalUnknownInstanceis still usable (the singleton is assured when deserializing)
java.io.ObjectStreamException
public static void main(java.lang.String[] args)
java org.xmlBlaster.util.def.ErrorCodejava org.xmlBlaster.util.def.ErrorCode verifySerialization java org.xmlBlaster.util.def.ErrorCode toPlainList
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |