You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by oz...@apache.org on 2004/05/04 16:21:49 UTC

cvs commit: jakarta-slide/src/stores/org/apache/slide/store/txfile/rm ResourceManagerException.java

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: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org