public class EntityException
extends javax.persistence.PersistenceException
| Constructor and Description |
|---|
EntityException(EntityInterface failed) |
EntityException(EntityInterface failed,
Exception ex) |
EntityException(EntityInterface failed,
String message) |
EntityException(EntityInterface failed,
String message,
Exception ex) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<EntityInterface> |
fromException(Throwable ex)
get hold of an entity in the exception chain.
|
EntityInterface |
getFailed() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EntityException(EntityInterface failed)
public EntityException(EntityInterface failed, String message)
public EntityException(EntityInterface failed, Exception ex)
public EntityException(EntityInterface failed, String message, Exception ex)
public static Optional<EntityInterface> fromException(Throwable ex)
ex - public EntityInterface getFailed()
Copyright © 2018 Fryske Akademy. All rights reserved.