Package com.sun.star.registry

Examples of com.sun.star.registry.InvalidValueException


    return _registryValueType;
  }

    public int getLongValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException {
    if(_registryValueType != RegistryValueType.LONG)
      throw new InvalidValueException("long");

    return _long;
  }
View Full Code Here


    _long = value;
  }

    public int[] getLongListValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException {
    if(_registryValueType != RegistryValueType.LONGLIST)
      throw new InvalidValueException("longlist");

    return _long_list;
  }
View Full Code Here

    _long_list = seqValue;
  }

    public String getAsciiValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException {
    if(_registryValueType != RegistryValueType.ASCII)
      throw new InvalidValueException("ascii");

    return _ascii;
  }
View Full Code Here

    _ascii = value;
  }

    public String[] getAsciiListValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException  {
    if(_registryValueType != RegistryValueType.ASCIILIST)
      throw new InvalidValueException("asciilist");

    return _ascii_list;
  }
View Full Code Here

    _ascii_list = seqValue;
  }

    public String getStringValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException  {
    if(_registryValueType != RegistryValueType.STRING)
      throw new InvalidValueException("string");

    return _string;
  }
View Full Code Here

    _string = value;
  }

    public String[] getStringListValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException {
    if(_registryValueType != RegistryValueType.STRINGLIST)
      throw new InvalidValueException("string_list");

    return _string_list;
  }
View Full Code Here

    _string_list = seqValue;
  }

    public byte[] getBinaryValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException {
    if(_registryValueType != RegistryValueType.BINARY)
      throw new InvalidValueException("longlist");

    return _binary;
  }
View Full Code Here

    return _registryValueType;
  }

    public int getLongValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException {
    if(_registryValueType != RegistryValueType.LONG)
      throw new InvalidValueException("long");

    return _long;
  }
View Full Code Here

    _long = value;
  }

    public int[] getLongListValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException {
    if(_registryValueType != RegistryValueType.LONGLIST)
      throw new InvalidValueException("longlist");

    return _long_list;
  }
View Full Code Here

    return _registryValueType;
  }

    public int getLongValue() throws InvalidRegistryException, InvalidValueException, com.sun.star.uno.RuntimeException {
    if(_registryValueType != RegistryValueType.LONG)
      throw new InvalidValueException("long");

    return _long;
  }
View Full Code Here

TOP

Related Classes of com.sun.star.registry.InvalidValueException

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.