|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception atg.epub.PublishingException
public class PublishingException
This exception indicates that a severe error occured while performing a publishing operation.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
PublishingException()
Constructs a new PublishingException. |
|
PublishingException(java.lang.String pStr)
Constructs a new PublishingException with the given explanation. |
|
PublishingException(java.lang.String pResourceBundleName,
java.lang.String pResourceKey,
java.lang.Object[] pResourceParameters)
Constructs a new PublishingException with the given resource information. |
|
PublishingException(java.lang.String pResourceBundleName,
java.lang.String pResourceKey,
java.lang.Object[] pResourceParameters,
java.lang.Throwable pSourceException)
Constructs a new PublishingException with the given exception and appropriate resource information. |
|
PublishingException(java.lang.String pStr,
java.lang.Throwable pSourceException)
Constructs a new PublishingException with the given explanation and source exception. |
|
PublishingException(java.lang.Throwable pSourceException)
Constructs a new PublishingException. |
Method Summary | |
---|---|
protected static java.lang.String |
createMessage(java.lang.String pResourceBundleName,
java.lang.String pResourceKey,
java.lang.Object[] pResourceParameters)
Returns the resource string already formatted. |
java.lang.String |
createUserMessage()
Returns the resource string already formatted based on user locale. |
java.lang.String |
createUserMessage(java.util.Locale pLocale)
Returns the resource string already formatted based on given locale. |
java.lang.String |
getErrorCode()
Get property errorCode . |
java.lang.String |
getResourceBundleName()
Returns property resourceBundleName. |
java.lang.String |
getResourceKey()
Returns property resourceKey. |
java.lang.Object[] |
getResourceParameters()
Returns property resourceParameters. |
void |
setErrorCode(java.lang.String pErrorCode)
Set property errorCode . |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PublishingException()
public PublishingException(java.lang.String pStr)
public PublishingException(java.lang.Throwable pSourceException)
pSourceException
- the initial exception which was the root
cause of the problempublic PublishingException(java.lang.String pStr, java.lang.Throwable pSourceException)
pSourceException
- the initial exception which was the root
cause of the problempublic PublishingException(java.lang.String pResourceBundleName, java.lang.String pResourceKey, java.lang.Object[] pResourceParameters)
pResourceBundleName
- the resource bundle containing the exception messagepResourceKey
- the resource look-up key for the exception messagepResourceParameters
- parameters to format into the resource string to create the exception messagepublic PublishingException(java.lang.String pResourceBundleName, java.lang.String pResourceKey, java.lang.Object[] pResourceParameters, java.lang.Throwable pSourceException)
pResourceBundleName
- the resource bundle containing the exception messagepResourceKey
- the resource look-up key for the exception messagepResourceParameters
- parameters to format into the resource string to create the exception messagepException
- the root exceptionMethod Detail |
---|
public void setErrorCode(java.lang.String pErrorCode)
errorCode
. This is the associated error code
for this message. Currently for exceptions which report codes this is
the corresponding resource bundle key.
pErrorCode
- new value to set, may be nullpublic java.lang.String getErrorCode()
errorCode
. This is the associated error code
for this message. Currently for exceptions which report codes this is
the corresponding resource bundle key.
errorCode
, may be nullpublic java.lang.String getResourceBundleName()
public java.lang.String getResourceKey()
public java.lang.Object[] getResourceParameters()
protected static java.lang.String createMessage(java.lang.String pResourceBundleName, java.lang.String pResourceKey, java.lang.Object[] pResourceParameters)
public java.lang.String createUserMessage()
public java.lang.String createUserMessage(java.util.Locale pLocale)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |