Joaquín Reñé
2026-03-27 4ee50e257b32f6ec0f72907305d1f2b1212808a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
 * Copyright © 2015 CurisIT, S.L. All Rights Reserved.
 */
package net.curisit.securis.services.exception;
/**
 * CurisException<p>
 * This class manages the standard (before or after computation) error on computation that implies that the problem is reported
 * and the computation can continue.
 *
 * @author JRA
 * Last reviewed by APB on April 05, 2022.
 */
public class CurisException extends Exception {
   private static final long serialVersionUID = 3830386897219028662L;
   // i18 code for message localization
   String i18key = null;
   /**
    * CurisException<p>
    * This method is used to manage the standard exception with the message.
    *
    * @param msg
    *         The exception message
    */
   public CurisException(String msg) {
       super(msg);
   }
   /**
    * CurisException<p>
    * This method is used to manage the standard exception with the message and the cause.
    *
    * @param msg
    *         The exception message
    * @param cause
    *         The error cause
    */
   public CurisException(String msg, Throwable cause) {
       super(msg, cause);
   }
   /**
    * CurisException<p>
    * This method is used to manage the standard exception with the message and the cause.
    *
    * @param msg
    *         The exception message
    * @param cause
    *         The error cause
    */
   public CurisException(String msg, String i18k) {
       this(msg);
       this.i18key = i18k;
   }
   /**
    * CurisException<p>
    * This method is used to manage the standard exception with the message, the i18 code and the cause.
    *
    * @param msg
    *         The exception message
    * @param i18k
    *         The code for localization
    * @param cause
    *         The error cause
    */
   public CurisException(String msg, String i18k, Throwable cause) {
       this(msg, cause);
       this.i18key = i18k;
   }
   /**
    * geti18key<p>
    * This method is used to get the i18 code for localization.
    *
    * @return i18key
    *         The i18 code
    */
   public String geti18key() {
       return i18key;
   }
}