
com.chavaillaz.client.common.exception.SerializationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-client Show documentation
Show all versions of common-client Show documentation
Library for the creation of asynchronous clients supporting multiple HTTP clients
package com.chavaillaz.client.common.exception;
/**
* Exception in case the body to be sent by the client cannot be serialized.
*/
public class SerializationException extends ClientException {
/**
* Creates a new serialization exception.
*
* @param object The content to serialize
* @param exception The exception thrown by Jackson
*/
public SerializationException(Object object, Throwable exception) {
super("Unable to serialize type " + object.getClass().getSimpleName() + " from " + object, exception);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy