Package org.openjdk.asmtools.common
Class FormatError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.ClassFormatError
org.openjdk.asmtools.common.FormatError
- All Implemented Interfaces:
Serializable
FormatError is the generic error thrown by jdis, jdec while parsing a class file.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
getResourceMsg
(String id, Object... args) Checks and returns formatted string if id isn't a reference in i18n.propertiesMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FormatError
-
-
Method Details
-
getResourceMsg
Checks and returns formatted string if id isn't a reference in i18n.properties- Parameters:
id
- either format string or a resource idargs
- arguments of the format string- Returns:
- null id isn't format string otherwise formatted string
-