public class IllegalFormatFlagsException extends IllegalFormatException implements Serializable
IllegalFormatFlagsException
will be thrown if the combination of
the format flags is illegal.RuntimeException
,
Serialized FormConstructor and Description |
---|
IllegalFormatFlagsException(String flags)
Constructs a new
IllegalFormatFlagsException with the specified
flags. |
Modifier and Type | Method and Description |
---|---|
String |
getFlags()
Returns the flags that are illegal.
|
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 IllegalFormatFlagsException(String flags)
IllegalFormatFlagsException
with the specified
flags.flags
- 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.