org.extex.engine.exception
Class RegistrarFontNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.ObjectStreamException
                  extended by org.extex.framework.RegistrarException
                      extended by org.extex.engine.exception.RegistrarFontNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class RegistrarFontNotFoundException
extends RegistrarException

This exception signals that a font could not be found during a registrar operation.

Version:
$Revision: 5755 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Constructor Summary
RegistrarFontNotFoundException(FontKey key)
          Creates a new object.
 
Method Summary
 FontKey getKey()
          Getter for key.
 java.lang.String getLocalizedMessage()
          Creates a localized description of this throwable.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegistrarFontNotFoundException

public RegistrarFontNotFoundException(FontKey key)
Creates a new object.

Parameters:
key - the key of the fount in question
Method Detail

getKey

public FontKey getKey()
Getter for key.

Returns:
the key

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Creates a localized description of this throwable. Subclasses may override this method in order to produce a locale-specific message. For subclasses that do not override this method, the default implementation returns the same result as getMessage().

Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
The localized description of this throwable.
See Also:
Throwable.getLocalizedMessage()