Source for de.webdings.jannis.exceptions.LayerEmptyException

   1: /* LayerEmptyException.java - Copyright (c) 2005 by Stefan Thesing
   2:  <p>This file is part of Jannis.</p>
   3:  <p>Jannis is free software; you can redistribute it and/or modify
   4:  it under the terms of the GNU General Public License as published by
   5:  the Free Software Foundation; either version 2 of the License, or
   6:  (at your option) any later version.</p>
   7: <p>Jannis is distributed in the hope that it will be useful,
   8: but WITHOUT ANY WARRANTY; without even the implied warranty of
   9: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  10: GNU General Public License for more details.</p>
  11: <p>You should have received a copy of the GNU General Public License
  12: along with Jannis; if not, write to the<br>
  13: Free Software Foundation, Inc.,<br>
  14: 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA<br>
  15: */
  16: package de.webdings.jannis.exceptions;
  17: 
  18: /**
  19:  * LayerEmptyException is thrown whenever a {@link de.webdings.jannis.neuralnet.Neuron} 
  20:  * of a layer is called that doesn't actually contain any neurons.
  21:  * 
  22:  * @author Stefan Thesing<br>
  23:  * Website: <a href="http://www.webdings.de">http://www.webdings.de</a>
  24:  * @version 0.1 10.08.2005
  25:  */
  26: public class LayerEmptyException extends Exception {
  27: 
  28:     /**
  29:      * 
  30:      */
  31:     private static final long serialVersionUID = -4112824832654455153L;
  32: 
  33:     /**
  34:      * 
  35:      */
  36:     public LayerEmptyException() {
  37:         super();
  38:     }
  39: 
  40:     /**
  41:      * @param message
  42:      */
  43:     public LayerEmptyException(String message) {
  44:         super(message);
  45:     }
  46: 
  47:     /**
  48:      * @param message
  49:      * @param cause
  50:      */
  51:     public LayerEmptyException(String message, Throwable cause) {
  52:         super(message, cause);
  53:     }
  54: 
  55:     /**
  56:      * @param cause
  57:      */
  58:     public LayerEmptyException(Throwable cause) {
  59:         super(cause);
  60:     }
  61: 
  62: }

© 2005 by Stefan Thesing;
Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.