public class UserError extends RuntimeException
To indicate a bug in the framework, use BugInCF
. To indicate a bug in a checker
implementation, use TypeSystemError
.
Constructor and Description |
---|
UserError(String message)
Constructs a new CheckerError with the specified detail message.
|
UserError(String fmt,
Object... args)
Constructs a new CheckerError with a detail message composed from the given arguments.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UserError(String message)
message
- the detail message@FormatMethod public UserError(String fmt, Object... args)
fmt
- the format stringargs
- the arguments for the format string