public class SchemaValidationTopiaException extends TopiaException
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.base.Predicate<StackTraceElement> |
IS_STACK_TRACE_ELEMENT_ABOUT_SCHEMA_VALIDATION
We can know that an
HibernateException is about schema validation
if one of the stack trace element validate this predicate. |
| Constructor and Description |
|---|
SchemaValidationTopiaException(String message,
org.hibernate.HibernateException e) |
| Modifier and Type | Method and Description |
|---|---|
static void |
throwIfHibernateExceptionIsAboutSchemaValidation(org.hibernate.HibernateException hibernateException)
If given
HibernateException is about schema validation, throw a SchemaValidationTopiaException. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected static final com.google.common.base.Predicate<StackTraceElement> IS_STACK_TRACE_ELEMENT_ABOUT_SCHEMA_VALIDATION
HibernateException is about schema validation
if one of the stack trace element validate this predicate.public SchemaValidationTopiaException(String message, org.hibernate.HibernateException e)
public static void throwIfHibernateExceptionIsAboutSchemaValidation(org.hibernate.HibernateException hibernateException)
HibernateException is about schema validation, throw a SchemaValidationTopiaException.hibernateException - FIXMECopyright © 2004–2016 CodeLutin. All rights reserved.