dbus-java/src/main/java/org/freedesktop/dbus/connections/impl/DBusConnection.java [785:798]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            DBusSigHandler<T> _handler) throws DBusException {
        if (!DBusSignal.class.isAssignableFrom(_type)) {
            throw new ClassCastException("Not A DBus Signal");
        }
        if (_source.matches(BUSNAME_REGEX)) {
            throw new DBusException(
                    "Cannot watch for signals based on well known bus name as source, only unique names.");
        }
        if (!_source.matches(CONNID_REGEX) || _source.length() > MAX_NAME_LENGTH) {
            throw new DBusException("Invalid bus name: " + _source);
        }
        String objectpath = getImportedObjects().get(_object).getObjectPath();
        if (!objectpath.matches(OBJECT_REGEX) || objectpath.length() > MAX_NAME_LENGTH) {
            throw new DBusException("Invalid object path: " + objectpath);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



dbus-java/src/main/java/org/freedesktop/dbus/connections/impl/DBusConnection.java [883:896]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            DBusSigHandler<T> _handler) throws DBusException {
        if (!DBusSignal.class.isAssignableFrom(_type)) {
            throw new ClassCastException("Not A DBus Signal");
        }
        if (_source.matches(BUSNAME_REGEX)) {
            throw new DBusException(
                    "Cannot watch for signals based on well known bus name as source, only unique names.");
        }
        if (!_source.matches(CONNID_REGEX) || _source.length() > MAX_NAME_LENGTH) {
            throw new DBusException("Invalid bus name: " + _source);
        }
        String objectpath = getImportedObjects().get(_object).getObjectPath();
        if (!objectpath.matches(OBJECT_REGEX) || objectpath.length() > MAX_NAME_LENGTH) {
            throw new DBusException("Invalid object path: " + objectpath);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



