Package org.jibx.runtime

Examples of org.jibx.runtime.ValidationException


                comp = (MenuComponent)comp.getChildren().get(0);
            }
        } else {
            comp = (MenuComponent)s_idMap.get(m_defaultId);
            if (comp == null) {
                throw new ValidationException("Target id value not defined",
                    this);
            }
        }
        return comp.getTarget();
    }
View Full Code Here


            try {
                file = new File(source, m_fileName);
                m_page = new Page(getTarget(),
                    new HTMLParseBuffer(new FileReader(file)));
            } catch (IOException e) {
                throw new ValidationException("Error processing file " +
                    file.toString(), e, this);
            }
        }
  }
View Full Code Here

       
        // check if target needs to be set
        if (m_setTarget == null) {
            m_linkTarget = findTarget(m_linkDir);
            if (m_id != null && m_linkTarget == null) {
                throw new ValidationException
                    ("id requires source file or path", this);
            }
        } else if (m_setTarget.charAt(0) == '/') {
            m_linkTarget = m_setTarget;
        } else {
View Full Code Here

TOP

Related Classes of org.jibx.runtime.ValidationException

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.