Package net.sourceforge.syncyoursecrets.util

Examples of net.sourceforge.syncyoursecrets.util.SysRuntimeException


      viewer.refresh();

    } catch (SysGenericException ex) {
      String msg = "Cannot create new PWEntry, this is a bug";
      logger.fatal(msg, ex);
      throw new SysRuntimeException(msg, ex);
    }

    logger.debug("exiting addEntry");
  }
View Full Code Here


      list.add(entry);
      viewer.refresh();
    } catch (SysInvalidArgumentException ex) {
      String msg = "Cannot create new PWTable, this is a bug";
      logger.fatal(msg, ex);
      throw new SysRuntimeException(msg, ex);
    }
    logger.debug("exiting addTable");
  }
View Full Code Here

  public static PWListContentProvider getContentProvider() {
    if (myView != null) {
      return myView.getContentProvider();
    } else {
      throw new SysRuntimeException(
          "Viewer not initialized yet, cannot yield contentProvider");
    }
  }
View Full Code Here

        this.email.setText(entry.getEmail());
      } catch (ElementDeletedException e) {
        // should not happen, as we check for deleted before
        String msg = "The updated element was already deleted, this is a bug";
        logger.fatal(msg, e);
        throw new SysRuntimeException(msg, e);
      }

    }
    this.listenerEnabled = true;
    this.getView().refresh();
View Full Code Here

          entry.setEmail(this.email.getText());
          setPartName(this.name.getText());
        } catch (ElementDeletedException e) {
          String msg = ("Accessing deleted entry. This is a bug");
          logger.fatal(msg);
          throw new SysRuntimeException(msg, e);
        }

      }
    } else {
      logger.trace("Skipping updateEntry");
View Full Code Here

      addStringProperty(REMARK);
      addStringProperty(EMAIL);
    } catch (SysInvalidArgumentException e) {
      String msg = "Failed to initialize children, this is a bug";
      logger.fatal(msg, e);
      throw new SysRuntimeException(msg, e);
    }
    logger.trace("exiting initChildren");

  }
View Full Code Here

TOP

Related Classes of net.sourceforge.syncyoursecrets.util.SysRuntimeException

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.