source: trunk/src/ws/fugue88/jpath/BrokenGraphException.java

Last change on this file was 6, checked in by dsowen, 21 years ago

Split out the access stuff into accesslib.
New Creator interface off-loads object creation to user.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 880 bytes
Line 
1/*
2 * Created on Aug 12, 2005
3 *
4 * $Log$
5 * Revision 1.2  2005/09/21 22:00:45  dsowen
6 * Split out the access stuff into accesslib.
7 * New Creator interface off-loads object creation to user.
8 *
9 * Revision 1.1  2005/08/12 19:01:46  dsowen
10 * Feature: can automatically fill missing parts of a graph.
11 *
12 */
13package ws.fugue88.jpath;
14
15/**
16 * @author dsowen
17 */
18public class BrokenGraphException extends Exception {
19
20        public BrokenGraphException(final Context context, final Path path,
21                        final Object parent, final PathPart child)
22        {
23                super("Graph broken for path '" + child + "' on object {" + parent
24                                + "}, accessed from context " + context + " at '" + path + "'.");
25
26                _context = context;
27                _path = path;
28                _parent = parent;
29                _child = child;
30        }
31
32        private final Context _context;
33        private final Path _path;
34        private final Object _parent;
35        private final PathPart _child;
36}
Note: See TracBrowser for help on using the repository browser.