View Javadoc

1   /**
2    * 2008, Digitalis Informatica. All rights reserved. Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos
3    * num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999 http://www.digitalis.pt
4    */
5   
6   package pt.digitalis.dif.exception.security;
7   
8   import pt.digitalis.dif.controller.objects.ControllerExecutionStep;
9   import pt.digitalis.dif.exception.controller.ControllerException;
10  
11  /**
12   * Is throwned when a file upload is attempted without the controlling session attribute set. Will generally represent a
13   * hack on the system
14   * 
15   * @author Luis Pinto <a href="mailto:lpinto@digitalis.pt">lpinto@digitalis.pt</a><br/>
16   * @created Mar 9, 2010
17   */
18  public class IllegalFileUploadException extends ControllerException {
19  
20      /**  */
21      private static final long serialVersionUID = 323905729986028913L;
22  
23      /**
24       * Default constructor
25       * 
26       * @param step
27       *            the step when the exception was throwned
28       */
29      public IllegalFileUploadException(ControllerExecutionStep step)
30      {
31          super(
32                  step,
33                  new Exception(
34                          "Ilegal file upload operation.\nFollow the application's interfce when attempting to upload information."));
35      }
36  
37  }