Package com.attivio.util.serialization
Class TransportExceptionConverter
- java.lang.Object
-
- com.attivio.util.serialization.AbstractConverter
-
- com.attivio.util.serialization.AttivioExceptionConverter
-
- com.attivio.util.serialization.TransportExceptionConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
public class TransportExceptionConverter extends AttivioExceptionConverter
Serializer forTransportException.
-
-
Field Summary
-
Fields inherited from class com.attivio.util.serialization.AbstractConverter
mapper, NULL
-
-
Constructor Summary
Constructors Constructor Description TransportExceptionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanConvert(java.lang.Class type)protected TransportExceptionnewAttivioException(java.lang.String context, ErrorCode code, java.lang.Throwable cause, java.lang.String message)Create a new AttivioException instance.-
Methods inherited from class com.attivio.util.serialization.AttivioExceptionConverter
marshal, unmarshal
-
Methods inherited from class com.attivio.util.serialization.AbstractConverter
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, getAlias, getAlias, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getClass, getClass, getClassName, marshalArray, marshalArray, marshalArray2D, marshalIntArray, marshalIntArray, marshalList, marshalNode, marshalNode, marshalProperties, marshalProperties, readList, readSubObject, readThrowable, setMapper, unmarshalArray, unmarshalArray2D, unmarshalIntArray, unmarshalList, unmarshalNode, unmarshalNode, unmarshalNode, unmarshalNode, unmarshalProperties, unmarshalProperty, unmarshalPropertyName, unmarshalPropertyValue, writeSubObject, writeSubObject, writeThrowable
-
-
-
-
Method Detail
-
canConvert
public boolean canConvert(java.lang.Class type)
- Specified by:
canConvertin interfacecom.thoughtworks.xstream.converters.ConverterMatcher- Overrides:
canConvertin classAttivioExceptionConverter
-
newAttivioException
protected TransportException newAttivioException(java.lang.String context, ErrorCode code, java.lang.Throwable cause, java.lang.String message)
Create a new AttivioException instance.- Overrides:
newAttivioExceptionin classAttivioExceptionConverter
-
-