Subversion Repository Public Repository

litesoft

Diff Revisions 969 vs 970 for /trunk/Java/core/Anywhere/src/org/litesoft/core/util/nonpublic/LLLoggingUnexpectedProblemHandler.java

Diff revisions: vs.
  @@ -1,14 +1,13 @@
1 1 // This Source Code is in the Public Domain per: http://unlicense.org
2 2 package org.litesoft.core.util.nonpublic;
3 3
4 - import org.litesoft.commonfoundation.typeutils.*;
4 + import org.litesoft.commonfoundation.problems.*;
5 5
6 - public class LLLoggingUnexpectedProblemHandler extends LLLoggingUnexpectedExceptionHandler implements LLUnexpectedProblemHandler
7 -
8 - {
9 - public final void LLhandleNonNull( String pFrom, String pProblemCode, String[] pProblemValues, Throwable pException ) {
6 + public class LLLoggingUnexpectedProblemHandler extends LLLoggingUnexpectedExceptionHandler implements LLUnexpectedProblemHandler {
7 + @Override
8 + public void LLhandleNonNull( String pFrom, Problem pProblem ) {
10 9 if ( LOGGER.error.isEnabled() ) {
11 - LOGGER.error.log( pException, "Unexpected Problem from '", pFrom, "': ", Objects.toString( pProblemValues, "," ) );
10 + LOGGER.error.log( pProblem.getThrowable(), render( pFrom, pProblem ) );
12 11 }
13 12 }
14 13 }