public class ResourceFormatException
extends java.lang.RuntimeException
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
className |
The class name of the resource bundle requested
|
protected java.lang.String |
key |
The name of the specific resource requested by the user
|
| Constructor | Description |
|---|---|
ResourceFormatException(java.lang.String s,
java.lang.String className,
java.lang.String key) |
Constructs a ResourceFormatException with the specified information.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getClassName() |
Gets parameter passed by constructor.
|
java.lang.String |
getKey() |
Gets parameter passed by constructor.
|
java.lang.String |
toString() |
Returns a printable representation of this object
|
protected java.lang.String className
protected java.lang.String key
public ResourceFormatException(java.lang.String s,
java.lang.String className,
java.lang.String key)
s - the detail messageclassName - the name of the resource classkey - the key for the malformed resource.public java.lang.String getClassName()
public java.lang.String getKey()
public java.lang.String toString()
toString in class java.lang.ThrowableCopyright ? 2018 Apache Software Foundation. All Rights Reserved.