Examples of PreferenceException


Examples of org.apache.cayenne.pref.PreferenceException

        int i = getIntProperty(property, defaultValue);
        try {
            PropertyUtils.setProperty(c, property, new Integer(i));
        }
        catch (Throwable th) {
            throw new PreferenceException("Error setting property: " + property, th);
        }
    }
View Full Code Here

Examples of org.apache.cayenne.pref.PreferenceException

        int i = getIntProperty(property, defaultValue);
        try {
            PropertyUtils.setProperty(c, property, new Integer(i));
        }
        catch (Throwable th) {
            throw new PreferenceException("Error setting property: " + property, th);
        }
    }
View Full Code Here

Examples of org.apache.cayenne.pref.PreferenceException

        int i = getPreference().getInt(property, defaultValue);
        try {
            PropertyUtils.setProperty(c, property, new Integer(i));
        }
        catch (Throwable th) {
            throw new PreferenceException("Error setting property: " + property, th);
        }
    }
View Full Code Here

Examples of org.fenrir.yggdrasil.core.exception.PreferenceException

            URL url = file.toURI().toURL();
            loadPreferencesFile(id, url);
        }
        catch(MalformedURLException e){
            log.error("Error al carregar preferencies desde el fitxer {}: {}", new Object[]{file.getAbsolutePath(), e.getMessage(), e});
            throw new PreferenceException("Error al carregar preferencies desde el fitxer " + file.getAbsolutePath() + ": " + e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.fenrir.yggdrasil.core.exception.PreferenceException

            configuration.removeConfiguration(id);
            configuration.addConfiguration(partialConfiguration, id);
      }
      catch(ConfigurationException e){
            log.error("Error al carregar preferencies desde la url {}: {}", new Object[]{url.toString(), e.getMessage(), e});
            throw new PreferenceException("Error al carregar preferencies desde la url " + url.toString() + ": " + e.getMessage(), e);
      }
    }
View Full Code Here

Examples of org.fenrir.yggdrasil.core.exception.PreferenceException

            XMLConfiguration preferences = (XMLConfiguration)configuration.getConfiguration(id);       
            preferences.save();       
        }
        catch(ConfigurationException e){
            log.error("Error al guardar preferències al workspace actual: {}", e.getMessage(), e);
            throw new PreferenceException("Error al guardar preferències al workspace actual: " + e.getMessage(), e);
        }
    }
View Full Code Here

Examples of org.fenrir.yggdrasil.core.exception.PreferenceException

            configuration.removeConfiguration(id);   
            configuration.addConfiguration(newPreferences, id);
        }
        catch(ConfigurationException e){
            log.error("Error al guardar preferències al workspace actual: {}", e.getMessage(), e);
            throw new PreferenceException("Error al guardar preferències al workspace actual: " + e.getMessage(), e);
        }
    }       
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.