public class ResourceFormatException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected String |
className
The class name of the resource bundle requested
|
protected String |
key
The name of the specific resource requested by the user
|
Constructor and Description |
---|
ResourceFormatException(String s,
String className,
String key)
Constructs a ResourceFormatException with the specified information.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Gets parameter passed by constructor.
|
String |
getKey()
Gets parameter passed by constructor.
|
String |
toString()
Returns a printable representation of this object
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected String className
protected String key
public ResourceFormatException(String s, String className, String key)
s
- the detail messageclassName
- the name of the resource classkey
- the key for the malformed resource.Copyright © 2000–2023 Apache Software Foundation. All rights reserved.