Package ptolemy.kernel.util

Examples of ptolemy.kernel.util.KernelRuntimeException


                    _setIconDescription(_HIDING_ICON);
                } else {
                    _setIconDescription(_NOT_HIDING_RELATION);
                }
            } catch (IllegalActionException e) {
                throw new KernelRuntimeException(e,
                        "Cannot get token from the attribute.");
            }
        }
    }
View Full Code Here


                    _setIconDescription(_FLATTENING_ICON);
                } else {
                    _setIconDescription(_NOT_FLATTENING_ICON);
                }
            } catch (IllegalActionException e) {
                throw new KernelRuntimeException(e,
                        "Cannot get token from the attribute.");
            }
        }
    }
View Full Code Here

        return _head == null;
    }

    public Iterator<E> iterator() {
        // FIXME: Implement later.
        throw new KernelRuntimeException("Not implemented.");
    }
View Full Code Here

    public java.util.Iterator<E> iterator() {
        return new Iterator();
    }

    public boolean remove(Object o) {
        throw new KernelRuntimeException("Not implemented.");
    }
View Full Code Here

    public boolean remove(Object o) {
        throw new KernelRuntimeException("Not implemented.");
    }

    public boolean removeAll(Collection<?> c) {
        throw new KernelRuntimeException("Not implemented.");
    }
View Full Code Here

    public boolean removeAll(Collection<?> c) {
        throw new KernelRuntimeException("Not implemented.");
    }

    public boolean retainAll(Collection<?> c) {
        throw new KernelRuntimeException("Not implemented.");
    }
View Full Code Here

            _ensureNext();
            return next;
        }

        public void remove() {
            throw new KernelRuntimeException("Not implemented.");
        }
View Full Code Here

            try {
                schedule = director.getScheduler().getSchedule()
                        .firingIterator();
            } catch (Exception ex) {
                throw new KernelRuntimeException(ex, "Failed to get schedule");
            }

            while (schedule.hasNext()) {
                Firing firing = (Firing) schedule.next();
View Full Code Here

            if (object == null) {
                return;
            }

            if (!(object instanceof Entity)) {
                throw new KernelRuntimeException("Could not save in "
                        + "library, '" + object + "' is not an Entity");
            }

            Entity entity = (Entity) object;
            Configuration configuration = (Configuration) effigy.toplevel();
View Full Code Here

                    port.setContainer(null);
                }
            }

        } catch (KernelException e) {
            throw new KernelRuntimeException(e, "Cannot update appearance for "
                    + "actor " + entity.getName() + ".");

        } finally {
            workspace.doneWriting();
        }
View Full Code Here

TOP

Related Classes of ptolemy.kernel.util.KernelRuntimeException

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.