public class ResourceFormatException
extends java.lang.RuntimeException
Modifier and Type | Field and 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 and 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 and 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.Throwable
Copyright © 2022 Apache Software Foundation. All Rights Reserved.