View Javadoc
1   package de.fhdw.wtf.persistence.exception;
2   
3   import java.sql.SQLException;
4   
5   /**
6    * Die Transaktion hat keinen Zugriff das UserObject.
7    */
8   public class NotInScopeException extends PersistenceException {
9   	/**
10  	 */
11  	public static final int ERRORCODE = 20002;
12  	/**
13  	 * the message of the exception.
14  	 */
15  	private static final String NOT_IN_SCOPE_MESSAGE = "The Transaction has no access to the UserObject";
16  	/**
17  	 * 
18  	 */
19  	private static final long serialVersionUID = 1L;
20  	
21  	/**
22  	 * Konstruktor der die entsprechende Fehlermeldung zur�ckgibt.
23  	 * 
24  	 * @param nestedException
25  	 *            TODO
26  	 */
27  	public NotInScopeException(final SQLException nestedException) {
28  		super(NOT_IN_SCOPE_MESSAGE, nestedException);
29  	}
30  }