Package net.sf.redmine_mylyn.common.logging

Examples of net.sf.redmine_mylyn.common.logging.ILogService.error()


        }
      }
     
    } catch (NullPointerException e) {
      ILogService log = RedmineUiPlugin.getLogService(getClass());
      log.error(e, Messages.ERRMSG_CANT_FILL_MARKAS_MENU);
    } catch (CoreException e) {
      ILogService log = RedmineUiPlugin.getLogService(getClass());
      log.error(e, Messages.ERRMSG_CANT_FILL_MARKAS_MENU);
    }
   
View Full Code Here


    } catch (NullPointerException e) {
      ILogService log = RedmineUiPlugin.getLogService(getClass());
      log.error(e, Messages.ERRMSG_CANT_FILL_MARKAS_MENU);
    } catch (CoreException e) {
      ILogService log = RedmineUiPlugin.getLogService(getClass());
      log.error(e, Messages.ERRMSG_CANT_FILL_MARKAS_MENU);
    }
   
    return statusMap;
  }
 
View Full Code Here

          }

                   
        } catch (CoreException e) {
          ILogService log = RedmineUiPlugin.getLogService(getClass());
          log.error(e, Messages.ERRMSG_CANT_SET_ATTRIBUTE_VALUE_X, attributeName);
        }
      }
    }
  }
 
View Full Code Here

        m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE );
        m.marshal(this, out);
      } catch(JAXBException e) {
        ILogService log = RedmineApiPlugin.getLogService(JaxbParser.class);
        RedmineApiErrorException exc = new RedmineApiErrorException(Messages.ERRMSG_CONFIGURATION_SERIALIZATION_FAILED, e);
        log.error(e, exc.getMessage());
        throw exc;
      }
    }
  }
 
View Full Code Here

        ctx.putProperty("rmc.logfile", path.toString()); //$NON-NLS-1$
       
        configurator.doConfigure(getClass().getResourceAsStream("/logback.xml")); //$NON-NLS-1$
      } catch (JoranException e) {
        ILogService logService = LogServiceImpl.getInstance(RedmineCommonPlugin.getDefault().getBundle(), LogWriter.class);
        logService.error(e, "Logback configuration failed"); //$NON-NLS-1$
      }
    }
  }
 
  @Override
View Full Code Here

          try {
            setValue(taskAttribute, field.get(issue));
          } catch (Exception e) {
            IStatus status = RedmineCorePlugin.toStatus(e, Messages.ERRMSG_CANT_READ_PROPERTY_X, redmineAttribute.name());
            ILogService log = RedmineCorePlugin.getLogService(IssueMapper.class);
            log.error(e, status.getMessage());
            throw new CoreException(status);
          }
        } else {
          switch (redmineAttribute) {
          case WATCHERS:
View Full Code Here

            }
          }
        } catch (Exception e) {
          IStatus status = RedmineCorePlugin.toStatus(e, Messages.ERRMSG_CANT_READ_PROPERTY_X, redmineAttribute.name());
          ILogService log = RedmineCorePlugin.getLogService(IssueMapper.class);
          log.error(e, status.getMessage());
          throw new CoreException(status);
        }
      }
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.