00001 //tabstop=4 00002 //*****************************************************************************/ 00003 // Project: jpl 00004 // 00005 // File: $Id$ 00006 // Date: $Date$ 00007 // Author: Fred Dushin <fadushin@syr.edu> 00008 // 00009 // 00010 // Description: 00011 // 00012 // 00013 // ------------------------------------------------------------------------- 00014 // Copyright (c) 2004 Paul Singleton 00015 // Copyright (c) 1998 Fred Dushin 00016 // All rights reserved. 00017 // 00018 // This library is free software; you can redistribute it and/or 00019 // modify it under the terms of the GNU Library Public License 00020 // as published by the Free Software Foundation; either version 2 00021 // of the License, or (at your option) any later version. 00022 // 00023 // This library is distributed in the hope that it will be useful, 00024 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00025 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00026 // GNU Library Public License for more details. 00027 //*****************************************************************************/ 00028 package jpl; 00029 00030 //----------------------------------------------------------------------/ 00031 // PrologException 00059 public final class PrologException extends JPLException { 00060 private static final long serialVersionUID = 1L; 00061 private Term term_ = null; 00062 00063 protected PrologException(Term term) { 00064 super("PrologException: " + term.toString()); 00065 00066 this.term_ = term; 00067 } 00068 00072 public Term term() { 00073 return this.term_; 00074 } 00075 }