Class UnexpectedJsonElementTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.hibernate.search.util.common.AssertionFailure
-
- org.hibernate.search.backend.elasticsearch.gson.impl.UnexpectedJsonElementTypeException
-
- All Implemented Interfaces:
Serializable
public class UnexpectedJsonElementTypeException extends AssertionFailure
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnexpectedJsonElementTypeException(String path, List<? extends JsonElementType<?>> expectedTypes, com.google.gson.JsonElement actualElement)UnexpectedJsonElementTypeException(String path, JsonElementType<?> expectedType, com.google.gson.JsonElement actualElement)UnexpectedJsonElementTypeException(JsonAccessor<?> accessor, List<? extends JsonElementType<?>> expectedTypes, com.google.gson.JsonElement actualElement)UnexpectedJsonElementTypeException(JsonAccessor<?> accessor, JsonElementType<?> expectedType, com.google.gson.JsonElement actualElement)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnexpectedJsonElementTypeException
public UnexpectedJsonElementTypeException(JsonAccessor<?> accessor, JsonElementType<?> expectedType, com.google.gson.JsonElement actualElement)
-
UnexpectedJsonElementTypeException
public UnexpectedJsonElementTypeException(JsonAccessor<?> accessor, List<? extends JsonElementType<?>> expectedTypes, com.google.gson.JsonElement actualElement)
-
UnexpectedJsonElementTypeException
public UnexpectedJsonElementTypeException(String path, JsonElementType<?> expectedType, com.google.gson.JsonElement actualElement)
-
UnexpectedJsonElementTypeException
public UnexpectedJsonElementTypeException(String path, List<? extends JsonElementType<?>> expectedTypes, com.google.gson.JsonElement actualElement)
-
-