Package org.olat.core.logging

Examples of org.olat.core.logging.KnownIssueException


        componentListenerInfo += "\n\t</controllerinfo>\n</dispatchinfo>";
      }
    }

    if(o3e instanceof KnownIssueException){
      KnownIssueException kie = (KnownIssueException)o3e;
      msg.contextPut("knownissuelink", kie.getJiraLink());
    }
   
    // TODO: DB.getInstance().hasTransaction() TODO: log db transaction id if in
    // transaction
    long refNum = Tracing.logError("**RedScreen** "+o3e.getLogMsg() + " ::_::" + componentListenerInfo + " ::_::", o3e, o3e.getThrowingClazz());
View Full Code Here


    AssessmentManager am = userCourseEnvironment.getCourseEnvironment().getAssessmentManager();
    Identity mySelf = userCourseEnvironment.getIdentityEnvironment().getIdentity();
    try {
     am.saveScoreEvaluation(this, coachingIdentity, mySelf, scoreEvaluation, userCourseEnvironment, incrementAttempts);
    } catch(DBRuntimeException ex) {
      throw new KnownIssueException("DBRuntimeException - Row was updated or deleted...",3570);
    }
  }
View Full Code Here

      Throwable th = dbre.getCause();
      if ((th instanceof StaleObjectStateException) &&
          (th.getMessage().startsWith("Row was updated or deleted by another transaction"))) {
        // known issue OLAT-3654
        Tracing.logInfo("Group was deleted by another user in the meantime. Known issue OLAT-3654", this.getClass());
        throw new KnownIssueException("Group was deleted by another user in the meantime", 3654);
      } else {
        throw dbre;
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.olat.core.logging.KnownIssueException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.