| | |
| | | // Log an error message. |
| | | logError(ErrorLogCategory.CONFIGURATION, ErrorLogSeverity.SEVERE_ERROR, |
| | | MSGID_FIFOCACHE_CANNOT_DETERMINE_MAX_MEMORY_PCT, |
| | | String.valueOf(configEntryDN), stackTraceToSingleLineString(e), |
| | | String.valueOf(configEntryDN), getExceptionMessage(e), |
| | | maxMemoryPercent); |
| | | } |
| | | |
| | |
| | | // Log an error message. |
| | | logError(ErrorLogCategory.CONFIGURATION, ErrorLogSeverity.SEVERE_ERROR, |
| | | MSGID_FIFOCACHE_CANNOT_DETERMINE_MAX_ENTRIES, |
| | | String.valueOf(configEntryDN), stackTraceToSingleLineString(e)); |
| | | String.valueOf(configEntryDN), getExceptionMessage(e)); |
| | | } |
| | | |
| | | |
| | |
| | | // Log an error message. |
| | | logError(ErrorLogCategory.CONFIGURATION, ErrorLogSeverity.SEVERE_ERROR, |
| | | MSGID_FIFOCACHE_CANNOT_DETERMINE_LOCK_TIMEOUT, |
| | | String.valueOf(configEntryDN), stackTraceToSingleLineString(e), |
| | | String.valueOf(configEntryDN), getExceptionMessage(e), |
| | | lockTimeout); |
| | | } |
| | | |
| | |
| | | ErrorLogSeverity.SEVERE_WARNING, |
| | | MSGID_FIFOCACHE_CANNOT_DECODE_INCLUDE_FILTER, |
| | | String.valueOf(configEntryDN), filterString, |
| | | stackTraceToSingleLineString(e)); |
| | | getExceptionMessage(e)); |
| | | } |
| | | } |
| | | |
| | |
| | | // Log an error message. |
| | | logError(ErrorLogCategory.CONFIGURATION, ErrorLogSeverity.SEVERE_ERROR, |
| | | MSGID_FIFOCACHE_CANNOT_DETERMINE_INCLUDE_FILTERS, |
| | | String.valueOf(configEntryDN), stackTraceToSingleLineString(e)); |
| | | String.valueOf(configEntryDN), getExceptionMessage(e)); |
| | | } |
| | | |
| | | |
| | |
| | | ErrorLogSeverity.SEVERE_WARNING, |
| | | MSGID_FIFOCACHE_CANNOT_DECODE_EXCLUDE_FILTER, |
| | | String.valueOf(configEntryDN), filterString, |
| | | stackTraceToSingleLineString(e)); |
| | | getExceptionMessage(e)); |
| | | } |
| | | } |
| | | |
| | |
| | | // Log an error message. |
| | | logError(ErrorLogCategory.CONFIGURATION, ErrorLogSeverity.SEVERE_ERROR, |
| | | MSGID_FIFOCACHE_CANNOT_DETERMINE_EXCLUDE_FILTERS, |
| | | String.valueOf(configEntryDN), stackTraceToSingleLineString(e)); |
| | | String.valueOf(configEntryDN), getExceptionMessage(e)); |
| | | } |
| | | } |
| | | |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_MAX_MEMORY_PCT; |
| | | unacceptableReasons.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | configIsAcceptable = false; |
| | | } |
| | | |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_MAX_ENTRIES; |
| | | unacceptableReasons.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | configIsAcceptable = false; |
| | | } |
| | | |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_LOCK_TIMEOUT; |
| | | unacceptableReasons.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | configIsAcceptable = false; |
| | | } |
| | | |
| | |
| | | unacceptableReasons.add(getMessage(msgID, |
| | | String.valueOf(configEntryDN), |
| | | filterString, |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | configIsAcceptable = false; |
| | | } |
| | | } |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_INCLUDE_FILTERS; |
| | | unacceptableReasons.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | configIsAcceptable = false; |
| | | } |
| | | |
| | |
| | | unacceptableReasons.add(getMessage(msgID, |
| | | String.valueOf(configEntryDN), |
| | | filterString, |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | configIsAcceptable = false; |
| | | } |
| | | } |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_EXCLUDE_FILTERS; |
| | | unacceptableReasons.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | configIsAcceptable = false; |
| | | } |
| | | |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_MAX_MEMORY_PCT; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | resultCode = ResultCode.CONSTRAINT_VIOLATION; |
| | | configIsAcceptable = false; |
| | | } |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_MAX_ENTRIES; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | |
| | | if (resultCode == ResultCode.SUCCESS) |
| | | { |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_LOCK_TIMEOUT; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | |
| | | if (resultCode == ResultCode.SUCCESS) |
| | | { |
| | |
| | | msgID = MSGID_FIFOCACHE_INVALID_INCLUDE_FILTER; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | filterString, |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | |
| | | if (resultCode == ResultCode.SUCCESS) |
| | | { |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_INCLUDE_FILTERS; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | |
| | | if (resultCode == ResultCode.SUCCESS) |
| | | { |
| | |
| | | // We couldn't decode this filter, so it isn't valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_EXCLUDE_FILTER; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | filterString, |
| | | stackTraceToSingleLineString(e))); |
| | | filterString, getExceptionMessage(e))); |
| | | |
| | | if (resultCode == ResultCode.SUCCESS) |
| | | { |
| | |
| | | // An error occurred, so the provided value must not be valid. |
| | | msgID = MSGID_FIFOCACHE_INVALID_EXCLUDE_FILTERS; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | | stackTraceToSingleLineString(e))); |
| | | getExceptionMessage(e))); |
| | | |
| | | if (resultCode == ResultCode.SUCCESS) |
| | | { |