View Javadoc

1   package org.lcsim.recon.tracking.trfutil;
2   /**
3    * An AssertException is modelled on the C++ assert macro
4    * which is indispensable for testing software components.
5    */
6   public class AssertException extends RuntimeException
7   {
8       /**
9        * Constructs an AssertException with no detail message.
10       */
11      public AssertException()
12      {
13          super();
14      }
15      /** Constructs an AssertException with the specified detail message
16       * @param str Assertion detail
17       */
18      public AssertException(String str)
19      {
20          super( str );
21      }
22  }