Package org.camunda.bpm.client.impl
Class ExternalTaskClientLogger
- java.lang.Object
-
- org.camunda.commons.logging.BaseLogger
-
- org.camunda.bpm.client.impl.ExternalTaskClientLogger
-
- Direct Known Subclasses:
DomXmlLogger
,EngineClientLogger
,JacksonJsonLogger
,SerializableLogger
,TopicSubscriptionManagerLogger
public class ExternalTaskClientLogger extends org.camunda.commons.logging.BaseLogger
- Author:
- Tassilo Weidner
-
-
Field Summary
Fields Modifier and Type Field Description static ExternalTaskClientLogger
CLIENT_LOGGER
static EngineClientLogger
ENGINE_CLIENT_LOGGER
static JacksonJsonLogger
JSON_FORMAT_LOGGER
protected static java.lang.String
PROJECT_CODE
protected static java.lang.String
PROJECT_LOGGER
static SerializableLogger
SERIALIZABLE_FORMAT_LOGGER
static TopicSubscriptionManagerLogger
TOPIC_SUBSCRIPTION_MANAGER_LOGGER
static DomXmlLogger
XML_FORMAT_LOGGER
-
Constructor Summary
Constructors Constructor Description ExternalTaskClientLogger()
-
Method Summary
-
-
-
Field Detail
-
PROJECT_CODE
protected static final java.lang.String PROJECT_CODE
- See Also:
- Constant Field Values
-
PROJECT_LOGGER
protected static final java.lang.String PROJECT_LOGGER
- See Also:
- Constant Field Values
-
CLIENT_LOGGER
public static final ExternalTaskClientLogger CLIENT_LOGGER
-
ENGINE_CLIENT_LOGGER
public static final EngineClientLogger ENGINE_CLIENT_LOGGER
-
TOPIC_SUBSCRIPTION_MANAGER_LOGGER
public static final TopicSubscriptionManagerLogger TOPIC_SUBSCRIPTION_MANAGER_LOGGER
-
XML_FORMAT_LOGGER
public static final DomXmlLogger XML_FORMAT_LOGGER
-
JSON_FORMAT_LOGGER
public static final JacksonJsonLogger JSON_FORMAT_LOGGER
-
SERIALIZABLE_FORMAT_LOGGER
public static final SerializableLogger SERIALIZABLE_FORMAT_LOGGER
-
-
Method Detail
-
logError
public void logError(java.lang.String id, java.lang.String messageTemplate, java.lang.Throwable t)
-
logInfo
public void logInfo(java.lang.String id, java.lang.String messageTemplate, java.lang.Throwable t)
-
baseUrlNullException
protected ExternalTaskClientException baseUrlNullException()
-
cannotGetHostnameException
protected ExternalTaskClientException cannotGetHostnameException(java.lang.Throwable cause)
-
topicNameNullException
public ExternalTaskClientException topicNameNullException()
-
lockDurationIsNotGreaterThanZeroException
public ExternalTaskClientException lockDurationIsNotGreaterThanZeroException(java.lang.Long lockDuration)
-
externalTaskHandlerNullException
public ExternalTaskClientException externalTaskHandlerNullException()
-
topicNameAlreadySubscribedException
public ExternalTaskClientException topicNameAlreadySubscribedException(java.lang.String topicName)
-
handledEngineClientException
public ExternalTaskClientException handledEngineClientException(java.lang.String actionName, EngineClientException e)
-
createMessage
protected java.lang.String createMessage(java.lang.String id, java.lang.String actionName, java.lang.String message)
-
basicAuthCredentialsNullException
public ExternalTaskClientException basicAuthCredentialsNullException()
-
interceptorNullException
protected ExternalTaskClientException interceptorNullException()
-
maxTasksNotGreaterThanZeroException
public ExternalTaskClientException maxTasksNotGreaterThanZeroException(java.lang.Integer maxTasks)
-
asyncResponseTimeoutNotGreaterThanZeroException
public ExternalTaskClientException asyncResponseTimeoutNotGreaterThanZeroException(java.lang.Long asyncResponseTimeout)
-
valueMapperExceptionWhileParsingDate
public ValueMapperException valueMapperExceptionWhileParsingDate(java.lang.String date, java.lang.Exception e)
-
valueMapperExceptionDueToNoObjectTypeName
public ValueMapperException valueMapperExceptionDueToNoObjectTypeName()
-
valueMapperExceptionWhileSerializingObject
public ValueMapperException valueMapperExceptionWhileSerializingObject(java.lang.Exception e)
-
valueMapperExceptionWhileDeserializingObject
public ValueMapperException valueMapperExceptionWhileDeserializingObject(java.lang.Exception e)
-
valueMapperExceptionWhileSerializingAbstractValue
public ValueMapperException valueMapperExceptionWhileSerializingAbstractValue(java.lang.String name)
-
valueMapperExceptionDueToSerializerNotFoundForTypedValue
public ValueMapperException valueMapperExceptionDueToSerializerNotFoundForTypedValue(TypedValue typedValue)
-
valueMapperExceptionDueToSerializerNotFoundForTypedValueField
public ValueMapperException valueMapperExceptionDueToSerializerNotFoundForTypedValueField(java.lang.Object value)
-
cannotSerializeVariable
public ValueMapperException cannotSerializeVariable(java.lang.String variableName, java.lang.Throwable e)
-
logDataFormats
public void logDataFormats(java.util.Collection<DataFormat> formats)
-
logDataFormat
protected void logDataFormat(DataFormat dataFormat)
-
logDataFormatProvider
public void logDataFormatProvider(DataFormatProvider provider)
-
logDataFormatConfigurator
public void logDataFormatConfigurator(DataFormatConfigurator configurator)
-
multipleProvidersForDataformat
public ExternalTaskClientException multipleProvidersForDataformat(java.lang.String dataFormatName)
-
passNullValueParameter
public ExternalTaskClientException passNullValueParameter(java.lang.String parameterName)
-
-