public class InferenceException extends SourceException
| Constructor and Description |
|---|
InferenceException(@NonNull StatementSourceReference source,
@NonNull String format,
Object... args) |
InferenceException(@NonNull String message,
@NonNull StatementSourceReference source) |
InferenceException(@NonNull String message,
@NonNull StatementSourceReference source,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static void |
throwIf(boolean expression,
@NonNull StatementSourceReference source,
@NonNull String format,
Object... args)
Throw an instance of this exception if an expression evaluates to true.
|
getSourceReference, throwIfNull, unwrapaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InferenceException(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause)
public InferenceException(@NonNull String message, @NonNull StatementSourceReference source)
public InferenceException(@NonNull StatementSourceReference source, @NonNull String format, Object... args)
public static void throwIf(boolean expression,
@NonNull StatementSourceReference source,
@NonNull String format,
Object... args)
expression - Expression to be evaluatedsource - Statement source referenceformat - Format string, according to String.format(String, Object...).args - Format string arguments, according to String.format(String, Object...)InferenceException - if the expression evaluates to true.Copyright © 2019 OpenDaylight. All rights reserved.