1 /****************************************************************************
2 * Copyright (c) 2005, 2006, 2007, 2008, 2009 Imola Informatica.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the LGPL License v2.1
5 * which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/lgpl.html
7 ****************************************************************************/
8
9 package it.imolinfo.jbi4corba.exception;
10
11 /**
12 * An exception used within the component during the activation phase.
13 */
14 public class ServiceActivationException extends Jbi4CorbaException {
15
16 /**
17 * Serial Version UID.
18 */
19 private static final long serialVersionUID = -612271741334505029L;
20
21 /**
22 * A constructor.
23 *
24 * @param message
25 * The message of the exception.
26 */
27 public ServiceActivationException(final String message) {
28 super(message);
29 }
30
31 /**
32 * A constructor.
33 *
34 * @param message
35 * The message of the exception.
36 * @param cause
37 * The cause of the exception.
38 */
39 public ServiceActivationException(
40 final String message, final Throwable cause) {
41 super(message, cause);
42 }
43
44 /**
45 * A constructor.
46 *
47 * @param cause
48 * The cause of the exception.
49 */
50 public ServiceActivationException(final Throwable cause) {
51 super(cause);
52 }
53
54 /**
55 * A constructor with i18n support.
56 *
57 * @param message the message of the exception.
58 * @param args the optional arguments applied to <code>message</code>.
59 * @param cause the cause of the exception.
60 */
61 public ServiceActivationException(
62 final String message, final Object[] args, final Throwable cause) {
63 super(message, args, cause);
64 }
65 }