Class FormatUtil.ExcessiveOrMissingFormatArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.IllegalFormatException
java.util.MissingFormatArgumentException
org.checkerframework.checker.formatter.util.FormatUtil.ExcessiveOrMissingFormatArgumentException
- All Implemented Interfaces:
Serializable
- Enclosing class:
FormatUtil
public static class FormatUtil.ExcessiveOrMissingFormatArgumentException
extends MissingFormatArgumentException
- See Also:
-
Constructor Summary
ConstructorDescriptionExcessiveOrMissingFormatArgumentException
(int expected, int found) Constructs an instance of this class with the actual argument length and the expected one. -
Method Summary
Methods inherited from class java.util.MissingFormatArgumentException
getFormatSpecifier
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExcessiveOrMissingFormatArgumentException
public ExcessiveOrMissingFormatArgumentException(int expected, int found) Constructs an instance of this class with the actual argument length and the expected one.
-
-
Method Details
-
getExpected
public int getExpected() -
getFound
public int getFound() -
getMessage
- Overrides:
getMessage
in classMissingFormatArgumentException
-