public abstract class ValidationException extends VertxException
Modifier and Type | Field and Description |
---|---|
protected JsonPointer |
inputScope |
protected Schema |
schema |
Modifier | Constructor and Description |
---|---|
protected |
ValidationException(String message,
String keyword,
Object input) |
protected |
ValidationException(String message,
String keyword,
Object input,
boolean noStackTrace) |
protected |
ValidationException(String message,
Throwable cause,
String keyword,
Object input) |
protected |
ValidationException(String message,
Throwable cause,
String keyword,
Object input,
boolean noStackTrace) |
Modifier and Type | Method and Description |
---|---|
static ValidationException |
create(String message,
String keyword,
Object input) |
static ValidationException |
create(String message,
String keyword,
Object input,
Collection<Throwable> causes) |
static ValidationException |
create(String message,
String keyword,
Object input,
Throwable cause) |
static ValidationException |
createException(String message,
String keyword,
Object input)
Deprecated.
just use
create(String, String, Object) |
static ValidationException |
createException(String message,
String keyword,
Object input,
Collection<Throwable> causes)
Deprecated.
|
static ValidationException |
createException(String message,
String keyword,
Object input,
Throwable cause)
Deprecated.
|
Object |
input() |
JsonPointer |
inputScope() |
String |
keyword() |
Schema |
schema() |
JsonPointer |
scope()
Deprecated.
use
schema() and then Schema.getScope() instead |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected Schema schema
protected JsonPointer inputScope
protected ValidationException(String message, String keyword, Object input, boolean noStackTrace)
protected ValidationException(String message, Throwable cause, String keyword, Object input)
@Deprecated public static ValidationException createException(String message, String keyword, Object input, Collection<Throwable> causes)
create(String, String, Object, Collection)
@Deprecated public static ValidationException createException(String message, String keyword, Object input, Throwable cause)
create(String, String, Object, Throwable)
@Deprecated public static ValidationException createException(String message, String keyword, Object input)
create(String, String, Object)
public static ValidationException create(String message, String keyword, Object input, Collection<Throwable> causes)
public static ValidationException create(String message, String keyword, Object input, Throwable cause)
public static ValidationException create(String message, String keyword, Object input)
public String keyword()
public Object input()
public Schema schema()
@Deprecated public JsonPointer scope()
schema()
and then Schema.getScope()
insteadpublic JsonPointer inputScope()
Copyright © 2024 Eclipse. All rights reserved.