View Javadoc
1   package de.fhdw.wtf.context.exception;
2   
3   /**
4    * A class to represent to Supertype to all Exception which can occur in this framework at Runtime.
5    */
6   public class FrameworkException extends RuntimeException {
7   	
8   	/**
9   	 * The exception's serial ID.
10  	 */
11  	private static final long serialVersionUID = 1L;
12  	
13  	/**
14  	 * Creates a new Framework Exception with a given message.
15  	 * 
16  	 * @param message
17  	 *            The exception message.
18  	 */
19  	public FrameworkException(final String message) {
20  		super(message);
21  	}
22  	
23  	/**
24  	 * A method to determine if this exception is a UserException.
25  	 * 
26  	 * @return Returns true if this Framework Exception is a User Exception.
27  	 */
28  	public boolean isUserException() {
29  		return false;
30  	}
31  	
32  }