Blame view

circus/src/jcircus/exceptions/ChanUseUnificationException.java 559 Bytes
8d0dc533f   Madiel de Souza Conserva Filho   first
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  package jcircus.exceptions;
  
  import jcircus.util.ChanUse;
  
  /**
   * ChanUseUnificationException.java
   *
   * @author Angela Freitas
   */
  public class ChanUseUnificationException extends Exception {
      
      public ChanUseUnificationException() {
          super("It is not possible to unify the ChanUse in the composite processes.");
      }
      
      public ChanUseUnificationException(String chanName, ChanUse chanUseInEnv, ChanUse chanUse) {
          super("Channel '" + chanName + "': " + chanUseInEnv + " (old), " + chanUse + "(new)");
      }
  
  }