Package org.codehaus.spice.configkit

Examples of org.codehaus.spice.configkit.ValidationIssue


        if( !result.isValid() )
        {
            final ValidationIssue[] issues = result.getIssues();
            for( int i = 0; i < issues.length; i++ )
            {
                final ValidationIssue issue = issues[ i ];
                final SAXParseException exception = issue.getException();
                final String message = exception.getMessage() +
                    " on line " +
                    exception.getLineNumber();
                if( issue.isWarning() )
                {
                    logger.info( message );
                }
                else if( issue.isError() )
                {
                    logger.warn( message );
                }
                else if( issue.isFatalError() )
                {
                    logger.error( message );
                }
            }
            final ValidateException exception = result.getException();
View Full Code Here

TOP

Related Classes of org.codehaus.spice.configkit.ValidationIssue

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.