Examples of InputDataLockedException


Examples of de.desy.tine.exceptions.InputDataLockedException

  public int putData(short[] data, int length, int offset)
  {
    if (data == null || length <= 0 || offset < 0) return TErrorList.argument_list_error;
    if (length > data.length - offset) length = data.length - offset;
    if (length <= 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength > length) dArrayLength = length;
    switch (dFormat)
    {
      case TFormat.CF_DOUBLE:
        for (int i = 0; i < dArrayLength; i++)
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

  public int putData(int[] data, int length, int offset)
  {
    if (data == null || length <= 0 || offset < 0) return TErrorList.argument_list_error;
    if (length > data.length - offset) length = data.length - offset;
    if (length <= 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength > length) dArrayLength = length;
    switch (dFormat)
    {
      case TFormat.CF_DOUBLE:
        for (int i = 0; i < dArrayLength; i++)
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

  {
    if (hDataObject == null)
    { // doesn't make sense (a primitive was passed as write data ?)
      return 0;
    }
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    repackageDataForOutput();
    return 0;
  }
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

  public int putData(float[] data, int length, int offset)
  {
    if (data == null || length <= 0 || offset < 0) return TErrorList.argument_list_error;
    if (length > data.length - offset) length = data.length - offset;
    if (length <= 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength > length) dArrayLength = length;
    switch (dFormat)
    {
      case TFormat.CF_DOUBLE:
        for (int i = 0; i < dArrayLength; i++)
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

  public int putData(FLTINT[] data, int length, int offset)
  {
    if (data == null || length <= 0 || offset < 0) return TErrorList.argument_list_error;
    if (length > data.length - offset) length = data.length - offset;
    if (length <= 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength > length) dArrayLength = length;
    switch (dFormat)
    {
      case TFormat.CF_INTINT:
        for (int i = 0; i < dArrayLength; i++)
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

  public int putData(NAME16FI[] data, int length, int offset)
  {
    if (data == null || length <= 0 || offset < 0) return TErrorList.argument_list_error;
    if (length > data.length - offset) length = data.length - offset;
    if (length <= 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength > length) dArrayLength = length;
    switch (dFormat)
    {
      case TFormat.CF_NAME16FI:
        for (int i = 0; i < dArrayLength; i++)
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

  public int putData(NAME32DBLDBL[] data, int length, int offset)
  {
    if (data == null || length <= 0 || offset < 0) return TErrorList.argument_list_error;
    if (length > data.length - offset) length = data.length - offset;
    if (length <= 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength > length) dArrayLength = length;
    switch (dFormat)
    {
      case TFormat.CF_NAME16II:
        for (int i = 0; i < dArrayLength; i++)
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

  public int putData(INTINT[] data, int length, int offset)
  {
    if (data == null || length <= 0 || offset < 0) return TErrorList.argument_list_error;
    if (length > data.length - offset) length = data.length - offset;
    if (length <= 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength > length) dArrayLength = length;
    switch (dFormat)
    {
      case TFormat.CF_INTINT:
        for (int i = 0; i < dArrayLength; i++)
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

  public int putData(DBLDBL[] data, int length, int offset)
  {
    if (data == null || length <= 0 || offset < 0) return TErrorList.argument_list_error;
    if (length > data.length - offset) length = data.length - offset;
    if (length <= 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength > length) dArrayLength = length;
    switch (dFormat)
    {
      case TFormat.CF_INTINT:
        for (int i = 0; i < dArrayLength; i++)
View Full Code Here

Examples of de.desy.tine.exceptions.InputDataLockedException

    throw new TineRuntimeErrorException(TErrorList.illegal_format);
  }
  private int putDataSegment(Object values, int offset)
  {
    if (values == null || offset < 0) return TErrorList.argument_list_error;
    if (isLocked) throw new InputDataLockedException(lockedMessage);
    if (dArrayLength < offset) return TErrorList.dimension_error;
    if (!values.getClass().isArray()) return TErrorList.not_supported;
    int vlen = Array.getLength(values);
    if (vlen > dArrayLength - offset) vlen = dArrayLength - offset;
    switch (dFormat)
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.