Package org.dmd.dmc

Examples of org.dmd.dmc.DmcValueExceptionSet


   * This method checks all modifications to ensure that they are resolved. Any modification
   * that isn't resolved is added to the exception set.
   * @throws DmcValueExceptionSet 
   */
  public void resolved() throws DmcValueExceptionSet {
    DmcValueExceptionSet ex = null;
   
    Iterator<Modifier>  mods = getMV();
    if (mods != null){
      while(mods.hasNext()){
        Modifier mod = mods.next();
        if (!mod.isResolved()){
          if (ex == null)
            ex = new DmcValueExceptionSet();
          ex.add(new DmcValueException("The value for the " + mod.operation + " modification on the " + mod.attributeName + " attribute is not resolved."));
        }
      }
    }
   
    if (ex != null)
View Full Code Here

TOP

Related Classes of org.dmd.dmc.DmcValueExceptionSet

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.