Package io.temporal.common.converter
Class DataConverterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.common.converter.DataConverterException
-
- All Implemented Interfaces:
java.io.Serializable
public class DataConverterException extends java.lang.RuntimeException
- See Also:
DataConverter
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MESSAGE_TRUNCATION_SIZE
Maximum size of data to be included into the message.
-
Constructor Summary
Constructors Constructor Description DataConverterException(io.temporal.api.common.v1.Payload payload, java.lang.Class<T> valueClass, java.lang.Throwable e)
DataConverterException(io.temporal.api.common.v1.Payload content, java.lang.reflect.Type[] valueTypes, java.lang.Throwable cause)
DataConverterException(java.lang.String message)
DataConverterException(java.lang.String message, io.temporal.api.common.v1.Payload content, java.lang.reflect.Type[] valueTypes)
DataConverterException(java.lang.String message, java.lang.Throwable cause)
DataConverterException(java.lang.String message, java.util.Optional<io.temporal.api.common.v1.Payloads> content, java.lang.reflect.Type valueType)
DataConverterException(java.lang.String message, java.util.Optional<io.temporal.api.common.v1.Payloads> content, java.lang.reflect.Type[] valueTypes)
DataConverterException(java.lang.Throwable cause)
-
-
-
Field Detail
-
MESSAGE_TRUNCATION_SIZE
public static final int MESSAGE_TRUNCATION_SIZE
Maximum size of data to be included into the message. Used to avoid very large payloads.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataConverterException
public DataConverterException(java.lang.String message)
-
DataConverterException
public DataConverterException(java.lang.Throwable cause)
-
DataConverterException
public DataConverterException(java.lang.String message, java.lang.Throwable cause)
-
DataConverterException
public DataConverterException(io.temporal.api.common.v1.Payload content, java.lang.reflect.Type[] valueTypes, java.lang.Throwable cause)
-
DataConverterException
public DataConverterException(java.lang.String message, io.temporal.api.common.v1.Payload content, java.lang.reflect.Type[] valueTypes)
-
DataConverterException
public DataConverterException(java.lang.String message, java.util.Optional<io.temporal.api.common.v1.Payloads> content, java.lang.reflect.Type valueType)
-
DataConverterException
public DataConverterException(java.lang.String message, java.util.Optional<io.temporal.api.common.v1.Payloads> content, java.lang.reflect.Type[] valueTypes)
-
DataConverterException
public DataConverterException(io.temporal.api.common.v1.Payload payload, java.lang.Class<T> valueClass, java.lang.Throwable e)
-
-