Package org.checkerframework.javacutil
Class UserError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.checkerframework.javacutil.UserError
- All Implemented Interfaces:
Serializable
Exception type indicating a mistake by an end user in using the Checker Framework, such as
incorrect command-line arguments.
To indicate a bug in the framework, use BugInCF
. To indicate a bug in a checker
implementation, use TypeSystemError
.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserError
Constructs a new CheckerError with the specified detail message.- Parameters:
message
- the detail message
-
UserError
Constructs a new CheckerError with a detail message composed from the given arguments.- Parameters:
fmt
- the format stringargs
- the arguments for the format string
-