You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2019/01/31 22:00:43 UTC
svn commit: r1852653 - in
/uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima:
UIMARuntimeException.java UIMA_IllegalArgumentException.java
UIMA_IllegalStateException.java UIMA_UnsupportedOperationException.java
Author: schor
Date: Thu Jan 31 22:00:43 2019
New Revision: 1852653
URL: http://svn.apache.org/viewvc?rev=1852653&view=rev
Log:
[UIMA-5974] rename public field back to UIMA v2 name
Modified:
uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMARuntimeException.java
uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalArgumentException.java
uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalStateException.java
uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_UnsupportedOperationException.java
Modified: uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMARuntimeException.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMARuntimeException.java?rev=1852653&r1=1852652&r2=1852653&view=diff
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMARuntimeException.java (original)
+++ uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMARuntimeException.java Thu Jan 31 22:00:43 2019
@@ -35,7 +35,7 @@ import java.util.Locale;
* <p>
* The thrower may specify the name of the <code>ResourceBundle</code> in which to find the
* exception message. Any name may be used. If the name is omitted, the resource bundle identified
- * by {@link #resource_file} will be used. This contains the standard UIMA exception
+ * by {@link #STANDARD_MESSAGE_CATALOG} will be used. This contains the standard UIMA exception
* messages.
*
*
@@ -48,7 +48,7 @@ public class UIMARuntimeException extend
* The name of the {@link java.util.ResourceBundle ResourceBundle} containing the standard UIMA
* Exception messages.
*/
- public static final String resource_file = "org.apache.uima.UIMAException_Messages";
+ public static final String STANDARD_MESSAGE_CATALOG = "org.apache.uima.UIMAException_Messages";
/**
* Message key for a standard UIMA exception message: CasManager.releaseCas(CAS) was called with a
@@ -172,7 +172,7 @@ public class UIMARuntimeException extend
/**
* the message bundle to use for this exception
*/
- private String mMessageBundle = resource_file;
+ private String mMessageBundle = STANDARD_MESSAGE_CATALOG;
/**
* An identifier that maps to the message for this exception.
*/
@@ -222,7 +222,7 @@ public class UIMARuntimeException extend
}
/**
- * Creates a new exception with a message from the {@link #resource_file}.
+ * Creates a new exception with a message from the {@link #STANDARD_MESSAGE_CATALOG}.
*
* @param aMessageKey
* an identifier that maps to the message for this exception. The message may contain
Modified: uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalArgumentException.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalArgumentException.java?rev=1852653&r1=1852652&r2=1852653&view=diff
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalArgumentException.java (original)
+++ uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalArgumentException.java Thu Jan 31 22:00:43 2019
@@ -104,7 +104,7 @@ public class UIMA_IllegalArgumentExcepti
}
/**
- * Creates a new exception with a message from the {@link #resource_file}.
+ * Creates a new exception with a message from the {@link #STANDARD_MESSAGE_CATALOG}.
*
* @param aMessageKey
* an identifier that maps to the message for this exception. The message may contain
@@ -120,7 +120,7 @@ public class UIMA_IllegalArgumentExcepti
/**
* Creates a new exception with the specified cause and a message from the
- * {@link #resource_file}.
+ * {@link #STANDARD_MESSAGE_CATALOG}.
*
* @param aMessageKey
* an identifier that maps to the message for this exception. The message may contain
Modified: uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalStateException.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalStateException.java?rev=1852653&r1=1852652&r2=1852653&view=diff
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalStateException.java (original)
+++ uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_IllegalStateException.java Thu Jan 31 22:00:43 2019
@@ -145,7 +145,7 @@ public class UIMA_IllegalStateException
}
/**
- * Creates a new exception with a message from the {@link #resource_file}.
+ * Creates a new exception with a message from the {@link #STANDARD_MESSAGE_CATALOG}.
*
* @param aMessageKey
* an identifier that maps to the message for this exception. The message may contain
@@ -161,7 +161,7 @@ public class UIMA_IllegalStateException
/**
* Creates a new exception with the specified cause and a message from the
- * {@link #resource_file}.
+ * {@link #STANDARD_MESSAGE_CATALOG}.
*
* @param aMessageKey
* an identifier that maps to the message for this exception. The message may contain
Modified: uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_UnsupportedOperationException.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_UnsupportedOperationException.java?rev=1852653&r1=1852652&r2=1852653&view=diff
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_UnsupportedOperationException.java (original)
+++ uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/UIMA_UnsupportedOperationException.java Thu Jan 31 22:00:43 2019
@@ -112,7 +112,7 @@ public class UIMA_UnsupportedOperationEx
}
/**
- * Creates a new exception with a message from the {@link #resource_file}.
+ * Creates a new exception with a message from the {@link #STANDARD_MESSAGE_CATALOG}.
*
* @param aMessageKey
* an identifier that maps to the message for this exception. The message may contain
@@ -128,7 +128,7 @@ public class UIMA_UnsupportedOperationEx
/**
* Creates a new exception with the specified cause and a message from the
- * {@link #resource_file}.
+ * {@link #STANDARD_MESSAGE_CATALOG}.
*
* @param aMessageKey
* an identifier that maps to the message for this exception. The message may contain