Source for de.webdings.jannis.exceptions.LowerLayersEmptyException

   1: /* LowerLayersEmptyException.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:  * LowerLayersEmptyException is used prevent action in a layer of a neural net that
  20:  * has one or more empty layer(s) between it and the input layer. A net with such
  21:  * empty layers couldn't operate at all, so classes like 
  22:  * {@link de.webdings.jannis.neuralnet.NeuralNet}
  23:  * make sure that layers are filled up one by one beginning with the input layer and ending
  24:  * with the output layer. Whenever a process tries to fill a 
  25:  * {@link de.webdings.jannis.neuralnet.Neuron}
  26:  * into a layer that has one or more empty layers between it and the input layer, a 
  27:  * LowerLayersEmptyException is thrown.
  28:  * @see de.webdings.jannis.neuralnet.NeuralNet#addNeuron(Neuron, int)
  29:  * 
  30:  * @author Stefan Thesing<br>
  31:  * Website: <a href="http://www.webdings.de">http://www.webdings.de</a>
  32:  * @version 0.1 10.08.2005
  33:  */
  34: public class LowerLayersEmptyException extends Exception {
  35: 
  36:     /**
  37:      * 
  38:      */
  39:     private static final long serialVersionUID = 4925368406845425489L;
  40: 
  41:     /**
  42:      * 
  43:      */
  44:     public LowerLayersEmptyException() {
  45:         super();
  46:     }
  47: 
  48:     /**
  49:      * @param message
  50:      */
  51:     public LowerLayersEmptyException(String message) {
  52:         super(message);
  53:     }
  54: 
  55:     /**
  56:      * @param message
  57:      * @param cause
  58:      */
  59:     public LowerLayersEmptyException(String message, Throwable cause) {
  60:         super(message, cause);
  61:     }
  62: 
  63:     /**
  64:      * @param cause
  65:      */
  66:     public LowerLayersEmptyException(Throwable cause) {
  67:         super(cause);
  68:     }
  69: 
  70: }

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