ozeigermann 2004/05/04 07:21:49
Modified: src/stores/org/apache/slide/store/txfile/rm
ResourceManagerException.java
Log:
Relaxed ctor access levels as they were unnecessarily strict.
Revision Changes Path
1.5 +7 -7
jakarta-slide/src/stores/org/apache/slide/store/txfile/rm/ResourceManagerException.java
Index: ResourceManagerException.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/stores/org/apache/slide/store/txfile/rm/ResourceManagerException.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ResourceManagerException.java 11 Feb 2004 11:30:22 -0000 1.4
+++ ResourceManagerException.java 4 May 2004 14:21:49 -0000 1.5
@@ -179,7 +179,7 @@
this.txId = null;
}
- protected ResourceManagerException(String message, int status, Object txId,
Throwable cause) {
+ public ResourceManagerException(String message, int status, Object txId,
Throwable cause) {
// XXX can not do this, as 1.3 Throwable does not allow cause in ctor :(
// super(ResourceManagerException.composeMessage(message, status, txId),
cause);
// for now format cause by ourselves
@@ -188,15 +188,15 @@
this.txId = txId;
}
- protected ResourceManagerException(String message, int status, Throwable cause)
{
+ public ResourceManagerException(String message, int status, Throwable cause) {
this(message, status, null, cause);
}
- protected ResourceManagerException(String message, Throwable cause) {
+ public ResourceManagerException(String message, Throwable cause) {
this(message, ERR_UNKNOWN, cause);
}
- protected ResourceManagerException(int status, Object txId, Throwable cause) {
+ public ResourceManagerException(int status, Object txId, Throwable cause) {
this(null, status, txId, cause);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]