| java.lang.Object java.lang.Throwable java.lang.Exception com.flexive.shared.exceptions.FxApplicationException
All known Subclasses: com.flexive.shared.exceptions.FxEntryExistsException, com.flexive.shared.exceptions.FxSqlSearchException, com.flexive.shared.exceptions.FxEntryInUseException, com.flexive.shared.exceptions.FxInvalidLanguageException, com.flexive.shared.exceptions.FxInvalidStateException, com.flexive.shared.exceptions.FxTreeException, com.flexive.shared.exceptions.FxInvalidParameterException, com.flexive.shared.exceptions.FxInvalidQueryNodeException, com.flexive.shared.exceptions.FxUpdateException, com.flexive.shared.exceptions.FxLoadException, com.flexive.shared.exceptions.FxRemoveException, com.flexive.shared.exceptions.FxConstraintViolationException, com.flexive.shared.exceptions.FxDbException, com.flexive.shared.exceptions.FxConversionException, com.flexive.shared.exceptions.FxNotFoundException, com.flexive.shared.exceptions.FxNoAccessException, com.flexive.shared.exceptions.FxCreateException, com.flexive.shared.exceptions.FxLookupException, com.flexive.shared.exceptions.FxStreamException, com.flexive.shared.exceptions.FxConfigException,
FxApplicationException | public class FxApplicationException extends Exception implements FxLocalizedException(Code) | | Base class for all [fleXive] Exceptions, supports localized messages and converting.
Refer to the property files in package com.flexive.shared.exception.messages for keys to use.
All property files in this package will be concatenated to one big FxExceptionMessages.properties file
upon deployment.
If a (not null) Logger is passed as the first argument the message will be logged at level "error" in the default
locale (usually english) as well.
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | FxApplicationException(FxApplicationException converted) | public | FxApplicationException(Log log, FxApplicationException converted) | public | FxApplicationException(String key, Object... values) | public | FxApplicationException(Log log, String key, Object... values) | public | FxApplicationException(Throwable cause, String key, Object... values) | public | FxApplicationException(Log log, Throwable cause, String key, Object... values) | public | FxApplicationException(String key) | public | FxApplicationException(Log log, String key) | public | FxApplicationException(String message, Throwable cause) | public | FxApplicationException(Log log, String message, Throwable cause) | public | FxApplicationException(Throwable cause) | public | FxApplicationException(Log log, Throwable cause) |
FxApplicationException | public FxApplicationException(FxApplicationException converted)(Code) | | Localized exception constructor
Parameters: converted - the message to convert |
FxApplicationException | public FxApplicationException(Log log, FxApplicationException converted)(Code) | | Localized exception constructor
Parameters: log - Log to use Parameters: converted - exception to convert |
FxApplicationException | public FxApplicationException(String key, Object... values)(Code) | | Localized exception constructor
Parameters: key - exception messge resource key Parameters: values - value parameters for resource message |
FxApplicationException | public FxApplicationException(Log log, String key, Object... values)(Code) | | Localized exception constructor
Parameters: log - Log to use Parameters: key - exception messge resource key Parameters: values - value parameters for resource message |
FxApplicationException | public FxApplicationException(Throwable cause, String key, Object... values)(Code) | | Localized exception constructor
Parameters: cause - causing exception Parameters: key - exception messge resource key Parameters: values - value parameters for resource message |
FxApplicationException | public FxApplicationException(Log log, Throwable cause, String key, Object... values)(Code) | | Localized exception constructor
Parameters: log - Log to use Parameters: cause - causing message Parameters: key - exception messge resource key Parameters: values - value parameters for resource message |
FxApplicationException | public FxApplicationException(String key)(Code) | | Localized exception constructor
Parameters: key - exception messge resource key |
FxApplicationException | public FxApplicationException(Log log, String key)(Code) | | Localized exception constructor
Parameters: log - Log to use Parameters: key - exception messge resource key |
FxApplicationException | public FxApplicationException(String message, Throwable cause)(Code) | | Localized exception constructor
Parameters: message - resource key Parameters: cause - causing exception |
FxApplicationException | public FxApplicationException(Log log, String message, Throwable cause)(Code) | | Localized exception constructor
Parameters: log - Log to use Parameters: message - resource key Parameters: cause - exception cause |
FxApplicationException | public FxApplicationException(Throwable cause)(Code) | | Localized exception constructor
Parameters: cause - exception cause |
FxApplicationException | public FxApplicationException(Log log, Throwable cause)(Code) | | Localized exception constructor
Parameters: log - Log to use Parameters: cause - causing exception |
asRuntimeException | public FxRuntimeException asRuntimeException()(Code) | | Wraps this exception in a FxRuntimeException.
this exception wrapped in a FxRuntimeException. |
getAffectedXPath | public String getAffectedXPath()(Code) | | Get the XPath that has caused this Exception to be thrown
affected XPath or empty String if not XPath related |
hasAffectedXPath | public boolean hasAffectedXPath()(Code) | | Is this exception related to an XPath?
exception related to an XPath |
messageLogged | protected boolean messageLogged()(Code) | | Has the message been logged?
message logged |
setAffectedXPath | public FxApplicationException setAffectedXPath(String affectedXPath)(Code) | | Set the affected XPath that caused this Exception to be thrown
Parameters: affectedXPath - XPath that caused this Exception to be thrown this |
|
|