public class PageProductionException
extends java.lang.RuntimeException
Modifier and Type | Class | Description |
---|---|---|
static class |
PageProductionException.PageProductionExceptionFactory |
Exception factory for
PageProductionException . |
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.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getLocalizedMessage() |
|
org.xml.sax.Locator |
getLocator() |
Returns the locattion associated with the exception.
|
void |
setLocalizedMessage(java.lang.String msg) |
Sets the localized message for this exception.
|
void |
setLocator(org.xml.sax.Locator locator) |
Set a location associated with the exception.
|
public PageProductionException(java.lang.String message)
message
- the messagepublic PageProductionException(java.lang.String message, org.xml.sax.Locator locator)
message
- the messagelocator
- the optional locator that points to the error in the source filepublic void setLocator(org.xml.sax.Locator locator)
locator
- the locator holding the location.public org.xml.sax.Locator getLocator()
public void setLocalizedMessage(java.lang.String msg)
msg
- the localized messagepublic java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.