com.signalfx.shaded.fasterxml.jackson.databind.ser.impl.FailingSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalfx-codahale Show documentation
Show all versions of signalfx-codahale Show documentation
Dropwizard Codahale metrics plugin for signalfx
The newest version!
package com.signalfx.shaded.fasterxml.jackson.databind.ser.impl;
import java.io.IOException;
import com.signalfx.shaded.fasterxml.jackson.core.*;
import com.signalfx.shaded.fasterxml.jackson.databind.JsonMappingException;
import com.signalfx.shaded.fasterxml.jackson.databind.SerializerProvider;
import com.signalfx.shaded.fasterxml.jackson.databind.ser.std.StdSerializer;
/**
* Special bogus "serializer" that will throw
* {@link JsonMappingException} if its {@link #serialize}
* gets invoked. Most commonly registered as handler for unknown types,
* as well as for catching unintended usage (like trying to use null
* as Map/Object key).
*/
@SuppressWarnings("serial")
public class FailingSerializer
extends StdSerializer
© 2015 - 2024 Weber Informatics LLC | Privacy Policy