Package org.apache.batik.util.resources
Class ResourceFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.batik.util.resources.ResourceFormatException
-
- All Implemented Interfaces:
java.io.Serializable
public class ResourceFormatException extends java.lang.RuntimeExceptionSignals a format error in a resource bundle- Version:
- $Id: ResourceFormatException.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceFormatException(java.lang.String s, java.lang.String className, java.lang.String key)Constructs a ResourceFormatException with the specified information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Gets parameter passed by constructor.java.lang.StringgetKey()Gets parameter passed by constructor.java.lang.StringtoString()Returns a printable representation of this object
-
-
-
Constructor Detail
-
ResourceFormatException
public ResourceFormatException(java.lang.String s, java.lang.String className, java.lang.String key)Constructs a ResourceFormatException with the specified information. A detail message is a String that describes this particular exception.- Parameters:
s- the detail messageclassName- the name of the resource classkey- the key for the malformed resource.
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Gets parameter passed by constructor.
-
getKey
public java.lang.String getKey()
Gets parameter passed by constructor.
-
toString
public java.lang.String toString()
Returns a printable representation of this object- Overrides:
toStringin classjava.lang.Throwable
-
-