commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/exception ModelNotFoundException.java
Date Wed, 08 May 2002 18:07:41 GMT
ddp         02/05/08 11:07:41

  Added:       graph2/src/java/org/apache/commons/graph/domain/dependency/exception
                        CircularDependencyException.java
               graph2/src/java/org/apache/commons/graph/domain/statemachine/exception
                        StateMachineException.java
               graph2/src/java/org/apache/commons/graph/domain/uml/exception
                        ModelNotFoundException.java
  Log:
  Missed adding exceptions.
  
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/dependency/exception/CircularDependencyException.java
  
  Index: CircularDependencyException.java
  ===================================================================
  package org.apache.commons.graph.dependency.exception;
  
  import org.apache.commons.graph.exception.*;
  
  /**
   * Description of the Class
   */
  public class CircularDependencyException
       extends CycleException
  {
      /**
       * Constructor for the CircularDependencyException object
       */
      public CircularDependencyException()
      {
          super();
      }
  
      /**
       * Constructor for the CircularDependencyException object
       *
       * @param msg
       */
      public CircularDependencyException(String msg)
      {
          super(msg);
      }
  
      /**
       * Constructor for the CircularDependencyException object
       *
       * @param cause
       */
      public CircularDependencyException(Throwable cause)
      {
          super(cause);
      }
  }
  
  
  
  1.1                  jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/statemachine/exception/StateMachineException.java
  
  Index: StateMachineException.java
  ===================================================================
  package org.apache.commons.graph.statemachine.exception;
  
  import org.apache.commons.graph.exception.*;
  
  /**
   * Description of the Class
   */
  public class StateMachineException
       extends GraphException
  {
      /**
       * Constructor for the StateMachineException object
       */
      public StateMachineException()
      {
          super();
      }
  
      /**
       * Constructor for the StateMachineException object
       *
       * @param msg
       */
      public StateMachineException(String msg)
      {
          super(msg);
      }
  
      /**
       * Constructor for the StateMachineException object
       *
       * @param t
       */
      public StateMachineException(Throwable t)
      {
          super(t);
      }
  }
  
  
  
  1.1                  jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/exception/ModelNotFoundException.java
  
  Index: ModelNotFoundException.java
  ===================================================================
  package org.apache.commons.graph.domain.uml.exception;
  
  /**
   * Description of the Class
   */
  public class ModelNotFoundException extends Exception
  {
      private Throwable cause = null;
  
      /**
       * Constructor for the ModelNotFoundException object
       */
      public ModelNotFoundException()
      {
          super();
      }
  
      /**
       * Constructor for the ModelNotFoundException object
       *
       * @param msg
       */
      public ModelNotFoundException(String msg)
      {
          super(msg);
      }
  
      /**
       * Constructor for the ModelNotFoundException object
       *
       * @param cause
       */
      public ModelNotFoundException(Throwable cause)
      {
          super(cause.getMessage());
          this.cause = cause;
      }
  }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message