Revision 20100 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/VisitException.java
VisitException.java | ||
---|---|---|
41 | 41 |
package com.iver.cit.gvsig.fmap.operations.strategies; |
42 | 42 |
|
43 | 43 |
/** |
44 |
* Excepci?n lanzada por los Visitors. |
|
44 |
* <p>The information of a layer or group of layers is accessed using the *strategy* and *visitor* software patterns. If |
|
45 |
* any problem is produced accessing that information in that way, a <code>VisitException</code> will be produced.</p> |
|
45 | 46 |
* |
46 | 47 |
* @author Vicente Caballero Navarro |
47 | 48 |
*/ |
48 | 49 |
public class VisitException extends Exception { |
49 | 50 |
/** |
50 |
* Crea un nuevo VisitException. |
|
51 |
* <p>Constructs a new visit exception with <code>null</code> as its detail message. |
|
52 |
* The cause is not initialized, and may subsequently be initialized by a call to <code>initCause</code>.</p> |
|
51 | 53 |
*/ |
52 | 54 |
public VisitException() { |
53 | 55 |
super(); |
54 | 56 |
} |
55 | 57 |
|
56 | 58 |
/** |
57 |
* Crea un nuevo VisitException. |
|
58 |
* |
|
59 |
* @param message |
|
59 |
* <p>Constructs a new visit exception with the specified detail message. The cause is not |
|
60 |
* initialized, and may subsequently be initialized by a call to <code>initCause</code>. |
|
61 |
* |
|
62 |
* @param message the detail message. The detail message is saved for later retrieval by the <code>getMessage()</code> method. |
|
60 | 63 |
*/ |
61 | 64 |
public VisitException(String message) { |
62 | 65 |
super(message); |
63 | 66 |
} |
64 | 67 |
|
65 | 68 |
/** |
66 |
* Crea un nuevo VisitException. |
|
67 |
* |
|
68 |
* @param cause |
|
69 |
* <p>Constructs a visit exception with the specified cause and a detail message of <code>(cause==null ? |
|
70 |
* null : cause.toString())</code> (which typically contains the class and detail message of cause). |
|
71 |
* |
|
72 |
* @param cause the cause (which is saved for later retrieval by the <code>getCause()</code> method). (A <code>null</code> |
|
73 |
* value is permitted, and indicates that the cause is nonexistent or unknown). |
|
69 | 74 |
*/ |
70 | 75 |
public VisitException(Throwable cause) { |
71 | 76 |
super(cause); |
72 | 77 |
} |
73 | 78 |
|
74 | 79 |
/** |
75 |
* Crea un nuevo VisitException. |
|
76 |
* |
|
77 |
* @param message |
|
78 |
* @param cause |
|
80 |
* <p>Constructs a new visit exception with the specified detail message and cause.</p> |
|
81 |
* <p>Note that the detail message associated with <code>cause</code> is not automatically incorporated in this |
|
82 |
* exception's detail message.</p> |
|
83 |
* |
|
84 |
* @param message the detail message (which is saved for later retrieval by the <code>getMessage()</code> method). |
|
85 |
* @param cause the cause (which is saved for later retrieval by the <code>getCause()</code> method). (A <code>null</code> |
|
86 |
* value is permitted, and indicates that the cause is nonexistent or unknown). |
|
79 | 87 |
*/ |
80 | 88 |
public VisitException(String message, Throwable cause) { |
81 | 89 |
super(message, cause); |
Also available in: Unified diff