public class PageProductionException extends RuntimeException
| Modifier and Type | Class and Description |
|---|---|
static class |
PageProductionException.PageProductionExceptionFactory
Exception factory for
PageProductionException. |
| Constructor and Description |
|---|
PageProductionException(String message)
Creates a new PageProductionException.
|
PageProductionException(String message,
Locator locator)
Creates a new PageProductionException.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalizedMessage() |
Locator |
getLocator()
Returns the locattion associated with the exception.
|
void |
setLocalizedMessage(String msg)
Sets the localized message for this exception.
|
void |
setLocator(Locator locator)
Set a location associated with the exception.
|
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PageProductionException(String message)
message - the messagepublic void setLocator(Locator locator)
locator - the locator holding the location.public Locator getLocator()
public void setLocalizedMessage(String msg)
msg - the localized messagepublic String getLocalizedMessage()
getLocalizedMessage in class ThrowableCopyright © 2023 Apache Software Foundation. All rights reserved.