Package cli_fmw.main

Examples of cli_fmw.main.ClipsException


                    if (exitCode != 0) {
                        cmd = UNIX_PATH + " " + url;
                        p = Runtime.getRuntime().exec(cmd);
                    }
                } catch (InterruptedException ex) {
                    throw new ClipsException("Не удалось открыть ссылку \"" + cmd + "\" в стандартном браузере", ex);
                }
            }
        } catch (IOException ex) {
            // couldn't exec browser
            throw new ClipsException("Не удалось открыть ссылку \"" + cmd + "\" в стандартном браузере", ex);
        }
    }
View Full Code Here


    private void initType() throws ClipsException {
        try {
            get().init(type);
            initialized = true;
        } catch (Exception ex) {
            throw new ClipsException("Не удалось инициализировать справочник", ex);
        }           
    }
View Full Code Here

        try {
            cache.clear();
            getBean().get().clearDirectory();
        } catch (ClipsServerException ex) {
            getBean().clear();
            throw new ClipsException("Не удалось очистить справочник IntelliWriter", ex);
        }
    }
View Full Code Here

            GregorianCalendar gc2 = new GregorianCalendar();
            long mc = gc2.getTimeInMillis() - gc1.getTimeInMillis();
            System.out.println("DIRECTORY CREATED: " + cl.getName() + " IN " + mc + " ms");
            return dir;
        } catch (InstantiationException ex) {
            throw new ClipsException("DirectoryLocator:InstantiationException on " + cl.getName(),ex);
        } catch (IllegalAccessException ex) {
            throw new ClipsException("DirectoryLocator:IllegalAccessException on " + cl.getName(),ex);
        }
    }
View Full Code Here

    @Override
    public void paint(Graphics g) {
        if (!attached) {
            attached = true;
            if (ConfigGui.isLoaded()) {
                MessageBox.asyncShowExceptionOnly(new ClipsException(
                        "Таблица " + getClass().getName() + " не прикреплена к хранителю состояний, чтобы прикрепить " +
                        "таблицу, вызовете StateSaver.attachTo(this) последней " +
                        "строкой конструктора контенера"), false);
            }
        }
View Full Code Here

        System.out.println("DIRECTORYKLADR: синхронизация данных справочника адресов");
        try {
            getBean().get().syncDirectory(roots, altnames);
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Ошибка при обновлении классификатора адресов", ex);
        }
    }
View Full Code Here

        try {
            int id = getBean().get().getItemIDByCode(code);
            return getItemFromID(id);
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Не удалось получить элемент КЛАДРа (" + code + ")", ex);
        }
    }
View Full Code Here

                loadDB();
                setInCache(true);
                return true;
            } catch (Exception ex) {
                contaner.clearBean();
                throw new ClipsException("Не удалось загрузить ....", ex);
            }
        }
        return false;
    }
View Full Code Here

        }
        updateTableVidal(selectedMKB10item);
    }
   
    private void deleteMKB10Item(DirectoryMKB10Item mkb10item) throws ClipsException {
        ClipsException hasException = null;

        SelectorEditableExceptional<DirectoryMKB10Item> iie = mkb10item.getItems();       
        for (int i = iie.size() - 1; i > -1; i--) {
            DirectoryMKB10Item item = iie.get(i);
            try {
View Full Code Here

    }

    @Override
    public void fillItems() throws ClipsException {
        if (certificateLocal == null) {
            throw new ClipsException();
        }
        CollaboratorLocal collab = new CollaboratorLocal(certificateLocal.getCollaborator().getID(), null);//NULL AL
        Selector<CollaboratorFunctionsChunk> funcList = collab.getFunctions();
        for (int i = 0; i < funcList.size(); i++) {
            CollaboratorFunctionsChunk function = funcList.get(i);
View Full Code Here

TOP

Related Classes of cli_fmw.main.ClipsException

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.