Package org.apache.fop.fo.pagination
Class PageProductionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.fop.fo.pagination.PageProductionException
-
- All Implemented Interfaces:
java.io.Serializable
public class PageProductionException extends java.lang.RuntimeExceptionException thrown by FOP if there is a problem while producing new pages.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPageProductionException.PageProductionExceptionFactoryException factory forPageProductionException.
-
Constructor Summary
Constructors Constructor Description PageProductionException(java.lang.String message)Creates a new PageProductionException.PageProductionException(java.lang.String message, org.xml.sax.Locator locator)Creates a new PageProductionException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLocalizedMessage()org.xml.sax.LocatorgetLocator()Returns the locattion associated with the exception.voidsetLocalizedMessage(java.lang.String msg)Sets the localized message for this exception.voidsetLocator(org.xml.sax.Locator locator)Set a location associated with the exception.
-
-
-
Constructor Detail
-
PageProductionException
public PageProductionException(java.lang.String message)
Creates a new PageProductionException.- Parameters:
message- the message
-
PageProductionException
public PageProductionException(java.lang.String message, org.xml.sax.Locator locator)Creates a new PageProductionException.- Parameters:
message- the messagelocator- the optional locator that points to the error in the source file
-
-
Method Detail
-
setLocator
public void setLocator(org.xml.sax.Locator locator)
Set a location associated with the exception.- Parameters:
locator- the locator holding the location.
-
getLocator
public org.xml.sax.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(java.lang.String msg)
Sets the localized message for this exception.- Parameters:
msg- the localized message
-
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classjava.lang.Throwable
-
-