| Modifier and Type | Method and Description |
|---|---|
IErrorLevel |
LoggingExceptionCallback.getErrorLevel() |
| Constructor and Description |
|---|
LoggingExceptionCallback(IErrorLevel aErrorLevel) |
| Modifier and Type | Class and Description |
|---|---|
class |
EErrorLevel
Represents a generic error level.
|
class |
ErrorLevel
A standalone implementation of the
IErrorLevel interface. |
| Modifier and Type | Method and Description |
|---|---|
IErrorLevel |
ResourceError.getErrorLevel() |
IErrorLevel |
IHasErrorLevel.getErrorLevel() |
static IErrorLevel |
IErrorLevel.getMostSevere(IErrorLevel aLevel1,
IErrorLevel aLevel2) |
IErrorLevel |
ResourceErrorGroup.getMostSevereErrorLevel() |
IErrorLevel |
IHasErrorLevels.getMostSevereErrorLevel()
Get the most severe error level within this object.
|
| Modifier and Type | Method and Description |
|---|---|
static IErrorLevel |
IErrorLevel.getMostSevere(IErrorLevel aLevel1,
IErrorLevel aLevel2) |
default boolean |
IErrorLevel.isEqualSevereThan(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isLessOrEqualSevereThan(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isLessSevereThan(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isMoreOrEqualSevereThan(IErrorLevel aErrorLevel) |
default boolean |
IErrorLevel.isMoreSevereThan(IErrorLevel aErrorLevel) |
| Constructor and Description |
|---|
ResourceError(IResourceLocation aLocation,
IErrorLevel aErrorLevel,
IHasDisplayText aErrorText) |
ResourceError(IResourceLocation aLocation,
IErrorLevel aErrorLevel,
IHasDisplayText aErrorText,
Throwable aLinkedException) |
ResourceError(IResourceLocation aLocation,
IErrorLevel aErrorLevel,
String sErrorText) |
ResourceError(IResourceLocation aLocation,
IErrorLevel aErrorLevel,
String sErrorText,
Throwable aLinkedException) |
| Modifier and Type | Method and Description |
|---|---|
IErrorLevel |
SingleError.getErrorLevel() |
IErrorLevel |
FormErrors.getMostSevereErrorLevel()
Get the most severe error level that was recorded.
|
IErrorLevel |
ErrorList.getMostSevereErrorLevel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IFieldErrorList.hasEntryForField(String sSearchFieldName,
IErrorLevel aErrorLevel)
Check if any entry for the specified field and the specified error level is
present
|
boolean |
FormErrors.hasEntryForField(String sSearchFieldName,
IErrorLevel aErrorLevel) |
boolean |
ErrorList.hasEntryForField(String sSearchFieldName,
IErrorLevel aErrorLevel) |
| Constructor and Description |
|---|
SingleError(IErrorLevel aErrorLevel,
String sErrorText) |
SingleError(IErrorLevel aErrorLevel,
String sErrorFieldName,
String sErrorText) |
SingleError(String sErrorID,
IErrorLevel aErrorLevel,
String sErrorFieldName,
String sErrorText) |
| Modifier and Type | Method and Description |
|---|---|
IErrorLevel |
LogMessage.getErrorLevel() |
IErrorLevel |
InMemoryLogger.getMostSevereErrorLevel() |
| Modifier and Type | Method and Description |
|---|---|
protected LogMessage |
InMemoryLogger.createLogMessage(IErrorLevel eErrorLevel,
Serializable aMsg,
Throwable t)
Override this method to create a different LogMessage object or to filter
certain log messages.
|
static boolean |
LogHelper.isEnabled(Class<?> aLoggingClass,
IErrorLevel eErrorLevel)
Check if logging is enabled for the passed class based on the error level
provided
|
static boolean |
LogHelper.isEnabled(org.slf4j.Logger aLogger,
IErrorLevel eErrorLevel)
Check if logging is enabled for the passed logger based on the error level
provided
|
static void |
LogHelper.log(Class<?> aLoggingClass,
IErrorLevel aErrorLevel,
String sMsg) |
static void |
LogHelper.log(Class<?> aLoggingClass,
IErrorLevel eErrorLevel,
String sMsg,
Throwable t) |
void |
InMemoryLogger.log(IErrorLevel eErrorLevel,
Serializable aMsg) |
void |
InMemoryLogger.log(IErrorLevel eErrorLevel,
Serializable aMsg,
Throwable t) |
static void |
LogHelper.log(org.slf4j.Logger aLogger,
IErrorLevel eErrorLevel,
String sMsg) |
static void |
LogHelper.log(org.slf4j.Logger aLogger,
IErrorLevel eErrorLevel,
String sMsg,
Throwable t) |
| Constructor and Description |
|---|
LogMessage(IErrorLevel aErrorLevel,
Serializable aMsg,
Throwable aThrowable) |
LogMessage(LocalDateTime aIssueDT,
IErrorLevel aErrorLevel,
Serializable aMsg,
Throwable aThrowable) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
LoggingSAXErrorHandler.getErrorMessage(IErrorLevel aErrorLevel,
SAXParseException aException) |
static IResourceError |
AbstractSAXErrorHandler.getSaxParseError(IErrorLevel aErrorLevel,
SAXParseException ex)
Utility method to convert a
SAXParseException into an
IResourceError. |
protected void |
LoggingSAXErrorHandler.internalLog(IErrorLevel aErrorLevel,
SAXParseException aException) |
protected void |
DoNothingSAXErrorHandler.internalLog(IErrorLevel aErrorLevel,
SAXParseException aException) |
protected void |
CollectingSAXErrorHandler.internalLog(IErrorLevel aErrorLevel,
SAXParseException aException) |
protected abstract void |
AbstractSAXErrorHandler.internalLog(IErrorLevel aErrorLevel,
SAXParseException aException) |
| Constructor and Description |
|---|
XMLLoggingExceptionCallback(IErrorLevel aErrorLevel) |
Copyright © 2014–2016 Philip Helger. All rights reserved.