cvs commit: jakarta-bcel/src/java/org/apache/bcel/verifier/exc AssertionViolatedException.java

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
enver       02/03/15 03:19:24

  Modified:    src/java/org/apache/bcel/verifier/exc
                        AssertionViolatedException.java
  Log:
  Removed an unused method as a result of refactoring and to make it
  compatible with JDK 1.4 which uses a different method of the same
  name.
  
  Revision  Changes    Path
  1.2       +1 -9      jakarta-bcel/src/java/org/apache/bcel/verifier/exc/AssertionViolatedException.java
  
  Index: AssertionViolatedException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/exc/AssertionViolatedException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AssertionViolatedException.java	29 Oct 2001 20:00:33 -0000	1.1
  +++ AssertionViolatedException.java	15 Mar 2002 11:19:24 -0000	1.2
  @@ -58,7 +58,7 @@
    * Instances of this class should never be thrown. When such an instance is thrown,
    * this is due to an INTERNAL ERROR of BCEL's class file verifier &quot;JustIce&quot;.
    *
  - * @version $Id: AssertionViolatedException.java,v 1.1 2001/10/29 20:00:33 jvanzyl Exp $
  + * @version $Id: AssertionViolatedException.java,v 1.2 2002/03/15 11:19:24 enver Exp $
    * @author <A HREF="http://www.inf.fu-berlin.de/~ehaase"/>Enver Haase</A>
    */
   public final class AssertionViolatedException extends RuntimeException{
  @@ -102,14 +102,6 @@
   		AssertionViolatedException ave = new AssertionViolatedException("Oops!");
   		ave.extendMessage("\nFOUND:\n\t","\nExiting!!\n");
   		throw ave;
  -	}
  -
  -	/**
  -	 * Returns the backtrace of this AssertionViolatedException as a String.
  -	 * @return The backtrace of this AssertionViolatedException as a String.
  -	 */
  -	public String getStackTrace(){
  -		return Utility.getStackTrace(this);
   	}
   
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[email protected]>
For additional commands, e-mail: <mailto:[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.