root / src / main / scala / gr / grnet / aquarium / connector / handler / HandlerResultReject.scala @ bb3876b5
History | View | Annotate | Download (1.8 kB)
1 | 2835a843 | Christos KK Loverdos | /* |
---|---|---|---|
2 | 2835a843 | Christos KK Loverdos | * Copyright 2011-2012 GRNET S.A. All rights reserved. |
3 | 2835a843 | Christos KK Loverdos | * |
4 | 2835a843 | Christos KK Loverdos | * Redistribution and use in source and binary forms, with or |
5 | 2835a843 | Christos KK Loverdos | * without modification, are permitted provided that the following |
6 | 2835a843 | Christos KK Loverdos | * conditions are met: |
7 | 2835a843 | Christos KK Loverdos | * |
8 | 2835a843 | Christos KK Loverdos | * 1. Redistributions of source code must retain the above |
9 | 2835a843 | Christos KK Loverdos | * copyright notice, this list of conditions and the following |
10 | 2835a843 | Christos KK Loverdos | * disclaimer. |
11 | 2835a843 | Christos KK Loverdos | * |
12 | 2835a843 | Christos KK Loverdos | * 2. Redistributions in binary form must reproduce the above |
13 | 2835a843 | Christos KK Loverdos | * copyright notice, this list of conditions and the following |
14 | 2835a843 | Christos KK Loverdos | * disclaimer in the documentation and/or other materials |
15 | 2835a843 | Christos KK Loverdos | * provided with the distribution. |
16 | 2835a843 | Christos KK Loverdos | * |
17 | 2835a843 | Christos KK Loverdos | * THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
18 | 2835a843 | Christos KK Loverdos | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
19 | 2835a843 | Christos KK Loverdos | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
20 | 2835a843 | Christos KK Loverdos | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
21 | 2835a843 | Christos KK Loverdos | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
22 | 2835a843 | Christos KK Loverdos | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
23 | 2835a843 | Christos KK Loverdos | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
24 | 2835a843 | Christos KK Loverdos | * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
25 | 2835a843 | Christos KK Loverdos | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
26 | 2835a843 | Christos KK Loverdos | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
27 | 2835a843 | Christos KK Loverdos | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 | 2835a843 | Christos KK Loverdos | * POSSIBILITY OF SUCH DAMAGE. |
29 | 2835a843 | Christos KK Loverdos | * |
30 | 2835a843 | Christos KK Loverdos | * The views and conclusions contained in the software and |
31 | 2835a843 | Christos KK Loverdos | * documentation are those of the authors and should not be |
32 | 2835a843 | Christos KK Loverdos | * interpreted as representing official policies, either expressed |
33 | 2835a843 | Christos KK Loverdos | * or implied, of GRNET S.A. |
34 | 2835a843 | Christos KK Loverdos | */ |
35 | 2835a843 | Christos KK Loverdos | |
36 | 199695ce | Christos KK Loverdos | package gr.grnet.aquarium.connector.handler |
37 | 2835a843 | Christos KK Loverdos | |
38 | 2835a843 | Christos KK Loverdos | /** |
39 | 2ae4fe7f | Christos KK Loverdos | * Signifies that the event payload must be rejected and never be sent again. |
40 | 2835a843 | Christos KK Loverdos | * |
41 | 2835a843 | Christos KK Loverdos | * @author Christos KK Loverdos <loverdos@gmail.com> |
42 | 2835a843 | Christos KK Loverdos | */ |
43 | 2835a843 | Christos KK Loverdos | |
44 | 199695ce | Christos KK Loverdos | case class HandlerResultReject(reason: String) extends HandlerResult |