Examples of error()


Examples of org.apache.wicket.markup.html.form.TextField.error()

          String rolesInput = rolesChoiceField.getInput();
          if (rolesInput != null && (!"".equals(rolesInput)))
          {
            if ("".equals(rolesSetNameField.getInput()))
            {
              rolesSetNameField.error((IValidationError)new ValidationError()
                  .addMessageKey("error.noSetNameForRoles"));
            }
          }
        }
      });
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.FeedbackPanel.error()

                    {
                        feedback.error(getString("pam.details.message.errorReadonly"));
                    }
                    catch (Exception oe)
                    {
                        feedback.error(getString("pam.details.message.errorPrefs") + oe.getMessage());
                    }                   
                }
            });       
            FeedbackPanel feedback = new FeedbackPanel("feedback");
            add(feedback);
View Full Code Here

Examples of org.apache.woden.ErrorHandler.error()

       
        if(severity == SEVERITY_WARNING) {
            eh.warning(errorInfo);
        }
        else if(severity == SEVERITY_ERROR) {
            eh.error(errorInfo);
        }
        else if(severity == SEVERITY_FATAL_ERROR) {
            eh.fatalError(errorInfo);
           
            // Fatal error strategy is to terminate with a WSDLException.
View Full Code Here

Examples of org.apache.xerces.xni.parser.XMLErrorHandler.error()

            case SEVERITY_WARNING: {
                errorHandler.warning(domain, key, parseException);
                break;
            }
            case SEVERITY_ERROR: {
                errorHandler.error(domain, key, parseException);
                break;
            }
            case SEVERITY_FATAL_ERROR: {
                errorHandler.fatalError(domain, key, parseException);
                if (!fContinueAfterFatalError) {
View Full Code Here

Examples of org.apache.yoko.orb.OB.Logger.error()

            } catch (org.omg.CORBA.SystemException ex) {
                throw ex;
            } catch (Exception ex) {
                String err = "unable to load OCI plug-in `" + name + "':\n"
                        + ex.getMessage();
                logger.error(err);
                return null;
            }

            //
            // Invoke the version function, which allows the plug-in
View Full Code Here

Examples of org.bladerunnerjs.logging.Logger.error()

    catch (ServiceConfigurationError serviceError)
    {
      Throwable cause = serviceError.getCause();
      if (cause != null && cause.getClass() == InstantiationException.class)
      {
        logger.error(Messages.CANNOT_CREATE_INSTANCE_LOG_MSG, cause.getMessage());       
      } else
      {
        logger.error(Messages.ERROR_CREATING_OBJECT_LOG_MSG, serviceError);
      }
    }
View Full Code Here

Examples of org.codehaus.dna.impl.Jdk14Logger.error()

        final String message = "Meep!";
        final Throwable throwable = null;
        final boolean output = true;

        final Jdk14Logger logger = createLogger( level );
        logger.error( message );
        checkLogger( output, message, throwable, type );
    }

    public void testJdk14LoggerErrorWithExceptionEnabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.dna.impl.Log4JLogger.error()

        final Throwable throwable = null;
        final boolean output = true;

        final MockAppender target = new MockAppender();
        final Log4JLogger logger = createLogger( target, level );
        logger.error( message );
        checkLogger( target, output, message, throwable, type );
    }

    public void testLog4JLoggerErrorWithExceptionEnabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.dna.impl.LogkitLogger.error()

        final Throwable throwable = null;
        final boolean output = true;

        final MockLogTarget target = new MockLogTarget();
        final LogkitLogger logger = createLogger( target, level );
        logger.error( message );
        checkLogger( target, output, message, throwable, type );
    }

    public void testLogkitLoggerErrorWithExceptionEnabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.dna.impl.SAXConfigurationHandler.error()

    {
        final SAXConfigurationHandler handler = new SAXConfigurationHandler();
        final SAXParseException spe = new SAXParseException( "", null );
        try
        {
            handler.error( spe );
        }
        catch( final SAXException se )
        {
            assertEquals( spe, se );
            return;
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.