public class InferenceException extends SourceException
| Constructor and Description |
|---|
InferenceException(StatementSourceReference source,
String format,
Object... args) |
InferenceException(String message,
StatementSourceReference source) |
InferenceException(String message,
StatementSourceReference source,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static void |
throwIf(boolean expression,
StatementSourceReference source,
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 © 2018 OpenDaylight. All rights reserved.