public class UnknownFormatFlagsException extends IllegalFormatException
UnknownFormatFlagsException
will be thrown if there is
an unknown flag.RuntimeException
,
Serialized FormConstructor and Description |
---|
UnknownFormatFlagsException(String f)
Constructs a new
UnknownFormatFlagsException with the specified
flags. |
Modifier and Type | Method and Description |
---|---|
String |
getFlags()
Returns the flags associated with the exception.
|
String |
getMessage()
Returns the extra information message which was provided when this
Throwable was created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownFormatFlagsException(String f)
UnknownFormatFlagsException
with the specified
flags.f
- the specified flags.public String getFlags()
public String getMessage()
Throwable
Throwable
was created. Returns null
if no message was
provided at creation time.getMessage
in class Throwable
Throwable
's detail message.