Package org.destecs.core.simulationengine.exceptions

Examples of org.destecs.core.simulationengine.exceptions.SimulationException


      if (varTarget != null && elem.value.size() != varSize)
      {
        engineInfo(simulator, elem.name + " expected matrix size: "
            + varSize + " in shape: (" + varTarget.getDimensions()
            + ") but received: " + elem.value.size() + "elements");
        throw new SimulationException(simulator, "Variable "
            + elem.name + " does not have the appropriate size");
      }
    }

  }
View Full Code Here


  protected void abort(Simulator source, String reason)
      throws SimulationException
  {
    engineInfo(source, "[Abort] " + reason);
    throw new SimulationException(source, reason);
  }
View Full Code Here

      extendedReason = " => " + Integer.valueOf(xmlException.code) + ": "
          + xmlException.getMessage();

    }
    engineInfo(source, "[Abort] " + reason + extendedReason);
    throw new SimulationException(source, reason + extendedReason, throwable);
  }
View Full Code Here

TOP

Related Classes of org.destecs.core.simulationengine.exceptions.SimulationException

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.