public class UnexpectedJsonElementTypeException extends Exception
| Constructor and Description |
|---|
UnexpectedJsonElementTypeException(org.hibernate.search.elasticsearch.impl.JsonAccessor accessor,
org.hibernate.search.elasticsearch.impl.JsonElementType<?> expectedType,
com.google.gson.JsonElement actualElement) |
UnexpectedJsonElementTypeException(org.hibernate.search.elasticsearch.impl.JsonAccessor accessor,
List<? extends org.hibernate.search.elasticsearch.impl.JsonElementType<?>> expectedTypes,
com.google.gson.JsonElement actualElement) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.search.elasticsearch.impl.JsonAccessor |
getAccessor() |
com.google.gson.JsonElement |
getActualElement() |
List<org.hibernate.search.elasticsearch.impl.JsonElementType<?>> |
getExpectedTypes() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnexpectedJsonElementTypeException(org.hibernate.search.elasticsearch.impl.JsonAccessor accessor, org.hibernate.search.elasticsearch.impl.JsonElementType<?> expectedType, com.google.gson.JsonElement actualElement)
public UnexpectedJsonElementTypeException(org.hibernate.search.elasticsearch.impl.JsonAccessor accessor, List<? extends org.hibernate.search.elasticsearch.impl.JsonElementType<?>> expectedTypes, com.google.gson.JsonElement actualElement)
public String getMessage()
getMessage in class Throwablepublic org.hibernate.search.elasticsearch.impl.JsonAccessor getAccessor()
public List<org.hibernate.search.elasticsearch.impl.JsonElementType<?>> getExpectedTypes()
public com.google.gson.JsonElement getActualElement()
Copyright © 2006–2017 Hibernate. All rights reserved.