Package com.google.googlejavaformat.java
Class UsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.googlejavaformat.java.UsageException
- All Implemented Interfaces:
Serializable
Checked exception class for formatter command-line usage errors.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidappendLine(StringBuilder builder, String line) private static voidappendLines(StringBuilder builder, String[] lines) private static StringbuildMessage(String message) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
NEWLINE_JOINER
private static final com.google.common.base.Joiner NEWLINE_JOINER -
DOCS_LINK
-
USAGE
-
ADDITIONAL_USAGE
-
-
Constructor Details
-
UsageException
UsageException() -
UsageException
UsageException(String message)
-
-
Method Details
-
buildMessage
-
appendLine
-
appendLines
-