Class PageProductionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.fop.fo.pagination.PageProductionException
All Implemented Interfaces:
Serializable

public class PageProductionException extends RuntimeException
Exception thrown by FOP if there is a problem while producing new pages.
See Also:
  • Constructor Details

    • PageProductionException

      public PageProductionException(String message)
      Creates a new PageProductionException.
      Parameters:
      message - the message
    • PageProductionException

      public PageProductionException(String message, Locator locator)
      Creates a new PageProductionException.
      Parameters:
      message - the message
      locator - the optional locator that points to the error in the source file
  • Method Details

    • setLocator

      public void setLocator(Locator locator)
      Set a location associated with the exception.
      Parameters:
      locator - the locator holding the location.
    • getLocator

      public Locator getLocator()
      Returns the locattion associated with the exception.
      Returns:
      the locator or null if the location information is not available
    • setLocalizedMessage

      public void setLocalizedMessage(String msg)
      Sets the localized message for this exception.
      Parameters:
      msg - the localized message
    • getLocalizedMessage

      public String getLocalizedMessage()
      Overrides:
      getLocalizedMessage in class Throwable