Class ResourceFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.batik.util.resources.ResourceFormatException
All Implemented Interfaces:
Serializable

public class ResourceFormatException extends RuntimeException
Signals a format error in a resource bundle
Version:
$Id: ResourceFormatException.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

    • className

      protected String className
      The class name of the resource bundle requested
    • key

      protected String key
      The name of the specific resource requested by the user
  • Constructor Details

    • ResourceFormatException

      public ResourceFormatException(String s, String className, String key)
      Constructs a ResourceFormatException with the specified information. A detail message is a String that describes this particular exception.
      Parameters:
      s - the detail message
      className - the name of the resource class
      key - the key for the malformed resource.
  • Method Details

    • getClassName

      public String getClassName()
      Gets parameter passed by constructor.
    • getKey

      public String getKey()
      Gets parameter passed by constructor.
    • toString

      public String toString()
      Returns a printable representation of this object
      Overrides:
      toString in class Throwable