View Javadoc

1   package org.lsst.ccs.config;
2   
3   /**
4    * Runtime exception to notify that an object is in an immutable state.
5    * A modifying method cannot be invoked.
6    * @author bamade
7    */
8   // Date: 27/04/12
9   
10  public class ImmutableStateException extends RuntimeException{
11      public ImmutableStateException(String s) {
12          super(s);
13      }
14  
15      public ImmutableStateException(String s, Throwable throwable) {
16          super(s, throwable);
17      }
18  
19      public ImmutableStateException(Throwable throwable) {
20          super(throwable);
21      }
22  }