Examples of details()


Examples of freenet.client.filter.KnownUnsafeContentTypeException.details()

        FilterMIMEType typeHandler = ContentFilter.getMIMEType(type);
        HTMLNode failedContent = pageMaker.getInfobox("failed_requests", l10n("failedDBadMIME", new String[]{ "size", "type" }, new String[]{ String.valueOf(getters.size()), type }), contentNode, "download-failed-"+atype, false);
        // FIXME add a class for easier styling.
        KnownUnsafeContentTypeException e = new KnownUnsafeContentTypeException(typeHandler);
        failedContent.addChild("p", l10n("badMIMETypeIntro", "type", type));
        List<String> detail = e.details();
        if(detail != null && !detail.isEmpty()) {
          HTMLNode list = failedContent.addChild("ul");
          for(String s : detail)
            list.addChild("li", s);
        }
View Full Code Here

Examples of freenet.client.filter.UnsafeContentTypeException.details()

          infoboxContent.addChild("p", l10n("unableToSafelyDisplay"));
        if(e.isFatal() && filterException == null)
          infoboxContent.addChild("p", l10n("errorIsFatal"));
        infoboxContent.addChild("p", msg);
        if(filterException != null) {
          if(filterException.details() != null) {
            HTMLNode detailList = infoboxContent.addChild("ul");
            for(String detail : filterException.details()) {
              detailList.addChild("li", detail);
            }
          }
View Full Code Here

Examples of freenet.client.filter.UnsafeContentTypeException.details()

          infoboxContent.addChild("p", l10n("errorIsFatal"));
        infoboxContent.addChild("p", msg);
        if(filterException != null) {
          if(filterException.details() != null) {
            HTMLNode detailList = infoboxContent.addChild("ul");
            for(String detail : filterException.details()) {
              detailList.addChild("li", detail);
            }
          }
        }
        if(e.errorCodes != null) {
View Full Code Here

Examples of org.glassfish.quality.ToDo.details()

            descriptor.setField(DESC_XML_NAME, xmlName);

            final ToDo toDo = info.method().getAnnotation(ToDo.class);
            if (toDo != null)
            {
                descriptor.setField(DESC_CONFIG_PREFIX + "toDo", toDo.priority() + ", " + toDo.details());
            }

            final PropertiesDesc props = info.method().getAnnotation(PropertiesDesc.class);
            if (props != null)
            {
View Full Code Here

Examples of org.glassfish.quality.ToDo.details()

            descriptor.setField(DESC_XML_NAME, xmlName);

            final ToDo toDo = info.method().getAnnotation(ToDo.class);
            if (toDo != null)
            {
                descriptor.setField(DESC_CONFIG_PREFIX + "toDo", toDo.priority() + ", " + toDo.details());
            }

            final PropertiesDesc props = info.method().getAnnotation(PropertiesDesc.class);
            if (props != null)
            {
View Full Code Here

Examples of org.glassfish.quality.ToDo.details()

            descriptor.setField(DESC_XML_NAME, xmlName);

            final ToDo toDo = info.method().getAnnotation(ToDo.class);
            if (toDo != null)
            {
                descriptor.setField(DESC_CONFIG_PREFIX + "toDo", toDo.priority() + ", " + toDo.details());
            }

            final PropertiesDesc props = info.method().getAnnotation(PropertiesDesc.class);
            if (props != null)
            {
View Full Code Here

Examples of org.mozilla.javascript.EcmaError.details()

    } else if (ex instanceof EcmaError) {
      EcmaError ecmaError = (EcmaError) ex;
      error.column = ecmaError.columnNumber();
      error.filename = ecmaError.sourceName();
      error.line = ecmaError.lineNumber();
      error.message = ecmaError.details();
    } else {
      logger.trace("Unknown exception", ex);
    }
    // set defaults
    if (error.filename == null) {
View Full Code Here

Examples of org.mozilla.javascript.RhinoException.details()

            System.err.println(Context.toString(value));
            Context.exit();
        }
        if (ee instanceof RhinoException) {
            RhinoException re = (RhinoException)ee;
            System.err.println(re.details());
            System.err.println(re.getScriptStackTrace());
        } else {
            System.err.println(ee.getMessage());
            ee.printStackTrace(System.err);
        }
View Full Code Here

Examples of org.mozilla.javascript.RhinoException.details()

                System.err.println(Context.toString(value));
                System.err.println(((JavaScriptException)cause).getScriptStackTrace());
                Context.exit();
            } else if (cause instanceof RhinoException) {
                RhinoException re = (RhinoException)cause;
                System.err.println(re.details());
                System.err.println(re.getScriptStackTrace());
            } else {
                System.err.println(cause.getMessage());
            }
            cause.printStackTrace(System.err);
View Full Code Here

Examples of org.mozilla.javascript.RhinoException.details()

      if (re instanceof WrappedException) {
        // Make sure we're not printing the "Wrapped ...Exception:" part
        writer.println(((WrappedException) re).getWrappedException()
            .getMessage());
      } else {
        writer.println(re.details());
      }
      String[] stackTrace = re.getScriptStackTrace().split("\\r\\n|\\n|\\r");
      String sourceName = re.sourceName();
      if (sourceName != null) {
        int lineNumber = re.lineNumber();
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.