View Javadoc

1   package cz.cuni.amis.pogamut.sposh.exceptions;
2   
3   /**
4    * Wrapper os {@link RuntimeException} for situations that shouldn;t ever happen
5    * (e.g. I check that I have unique name, but get {@link DuplicateNameException}
6    * anyway). Basically something that shouldn't EVER happen happend. This
7    * exception makes it easier to find such places.
8    *
9    * @author HonzaH
10   */
11  public class FubarException extends RuntimeException {
12  
13      public FubarException(Throwable cause) {
14          super(cause);
15      }
16  
17      public FubarException(String message, Throwable cause) {
18          super(message, cause);
19      }
20  
21      public FubarException(String message) {
22          super(message);
23      }
24  }