| Package | Description |
|---|---|
| com.phloc.commons.callback | |
| com.phloc.commons.error | |
| com.phloc.commons.jaxb.validation | |
| com.phloc.commons.log | |
| com.phloc.commons.xml.sax | |
| com.phloc.commons.xml.serialize |
| Modifier and Type | Method and Description |
|---|---|
EErrorLevel |
LoggingExceptionHandler.getErrorLevel() |
| Constructor and Description |
|---|
LoggingExceptionHandler(EErrorLevel eErrorLevel) |
| Modifier and Type | Field and Description |
|---|---|
static EErrorLevel |
EErrorLevel.HIGHEST
Highest error level within this enum
|
static EErrorLevel |
EErrorLevel.LOWEST
Lowest error level within this enum
|
| Modifier and Type | Method and Description |
|---|---|
EErrorLevel |
ResourceError.getErrorLevel() |
EErrorLevel |
IHasErrorLevel.getErrorLevel() |
static EErrorLevel |
EErrorLevel.getFromIDCaseInsensitiveOrDefault(String sID,
EErrorLevel eDefault) |
static EErrorLevel |
EErrorLevel.getFromIDCaseInsensitiveOrNull(String sID) |
static EErrorLevel |
EErrorLevel.getFromIDCaseInsensitiveOrThrow(String sID) |
static EErrorLevel |
EErrorLevel.getFromIDOrDefault(String sID,
EErrorLevel eDefault) |
static EErrorLevel |
EErrorLevel.getFromIDOrNull(String sID) |
static EErrorLevel |
EErrorLevel.getFromIDOrThrow(String sID) |
static EErrorLevel |
EErrorLevel.getMostSevere(EErrorLevel eLevel1,
EErrorLevel eLevel2) |
EErrorLevel |
ResourceErrorGroup.getMostSevereErrorLevel() |
EErrorLevel |
IHasErrorLevels.getMostSevereErrorLevel()
Get the most severe error level within this group.
|
static EErrorLevel |
EErrorLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EErrorLevel[] |
EErrorLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EErrorLevel |
EErrorLevel.getFromIDCaseInsensitiveOrDefault(String sID,
EErrorLevel eDefault) |
static EErrorLevel |
EErrorLevel.getFromIDOrDefault(String sID,
EErrorLevel eDefault) |
static EErrorLevel |
EErrorLevel.getMostSevere(EErrorLevel eLevel1,
EErrorLevel eLevel2) |
boolean |
EErrorLevel.isEqualSevereThan(EErrorLevel eErrorLevel) |
boolean |
EErrorLevel.isLessOrEqualSevereThan(EErrorLevel eErrorLevel) |
boolean |
EErrorLevel.isLessSevereThan(EErrorLevel eErrorLevel) |
boolean |
EErrorLevel.isMoreOrEqualSevereThan(EErrorLevel eErrorLevel) |
boolean |
EErrorLevel.isMoreSevereThan(EErrorLevel eErrorLevel) |
| Constructor and Description |
|---|
ResourceError(IResourceLocation aLocation,
EErrorLevel eErrorLevel,
IHasDisplayText aErrorText) |
ResourceError(IResourceLocation aLocation,
EErrorLevel eErrorLevel,
IHasDisplayText aErrorText,
Throwable aLinkedException) |
ResourceError(IResourceLocation aLocation,
EErrorLevel eErrorLevel,
String sErrorText) |
ResourceError(IResourceLocation aLocation,
EErrorLevel eErrorLevel,
String sErrorText,
Throwable aLinkedException) |
| Modifier and Type | Method and Description |
|---|---|
protected EErrorLevel |
AbstractValidationEventHandler.getErrorLevel(int nSeverity)
Get the error level matching the passed JAXB severity.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractValidationEventHandler.continueProcessing(EErrorLevel eErrorLevel)
Should the processing be continued?
|
| Modifier and Type | Method and Description |
|---|---|
EErrorLevel |
LogMessage.getErrorLevel() |
EErrorLevel |
InMemoryLogger.getMostSevereErrorLevel() |
| Modifier and Type | Method and Description |
|---|---|
protected LogMessage |
InMemoryLogger.createLogMessage(EErrorLevel eErrorLevel,
Serializable aMsg,
Throwable t)
Override this method to create a different LogMessage object or to filter
certain log messages.
|
static boolean |
LogUtils.isEnabled(Class<?> aLoggingClass,
EErrorLevel eErrorLevel)
Check if logging is enabled for the passed class based on the error level
provided
|
static boolean |
LogUtils.isEnabled(org.slf4j.Logger aLogger,
EErrorLevel eErrorLevel)
Check if logging is enabled for the passed logger based on the error level
provided
|
static void |
LogUtils.log(Class<?> aLoggingClass,
EErrorLevel eErrorLevel,
String sMsg) |
static void |
LogUtils.log(Class<?> aLoggingClass,
EErrorLevel eErrorLevel,
String sMsg,
Throwable t) |
void |
InMemoryLogger.log(EErrorLevel eErrorLevel,
Serializable aMsg) |
void |
InMemoryLogger.log(EErrorLevel eErrorLevel,
Serializable aMsg,
Throwable t) |
static void |
LogUtils.log(org.slf4j.Logger aLogger,
EErrorLevel eErrorLevel,
String sMsg) |
static void |
LogUtils.log(org.slf4j.Logger aLogger,
EErrorLevel eErrorLevel,
String sMsg,
Throwable t) |
| Constructor and Description |
|---|
LogMessage(EErrorLevel eLevel,
Serializable aMsg,
Throwable aThrowable) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
LoggingSAXErrorHandler.getErrorMessage(EErrorLevel eErrorLevel,
SAXParseException aException) |
static IResourceError |
AbstractSAXErrorHandler.getSaxParseError(EErrorLevel eErrorLevel,
SAXParseException ex)
Utility method to convert a
SAXParseException into an
IResourceError. |
protected void |
LoggingSAXErrorHandler.internalLog(EErrorLevel eErrorLevel,
SAXParseException aException) |
protected void |
DoNothingSAXErrorHandler.internalLog(EErrorLevel eErrorLevel,
SAXParseException aException) |
protected void |
CollectingSAXErrorHandler.internalLog(EErrorLevel eErrorLevel,
SAXParseException aException) |
protected abstract void |
AbstractSAXErrorHandler.internalLog(EErrorLevel eErrorLevel,
SAXParseException aException) |
| Constructor and Description |
|---|
XMLLoggingExceptionHandler(EErrorLevel eErrorLevel) |
Copyright © 2006–2015 phloc systems. All rights reserved.