You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by vd...@apache.org on 2003/11/20 09:34:20 UTC

cvs commit: xml-security/src/org/apache/xml/security/exceptions XMLSecurityException.java AlgorithmAlreadyRegisteredException.java Base64DecodingException.java

vdkoogh     2003/11/20 00:34:20

  Modified:    src/org/apache/xml/security/exceptions
                        XMLSecurityException.java
                        AlgorithmAlreadyRegisteredException.java
                        Base64DecodingException.java
  Log:
  msgID and originalException were hiding the members in the superclass.
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.10      +19 -19    xml-security/src/org/apache/xml/security/exceptions/XMLSecurityException.java
  
  Index: XMLSecurityException.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/exceptions/XMLSecurityException.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XMLSecurityException.java	19 Nov 2003 12:00:52 -0000	1.9
  +++ XMLSecurityException.java	20 Nov 2003 08:34:20 -0000	1.10
  @@ -125,11 +125,11 @@
       *
       * @param msgID
       */
  -   public XMLSecurityException(String msgID) {
  +   public XMLSecurityException(String _msgID) {
   
  -      super(I18n.getExceptionMessage(msgID));
  +      super(I18n.getExceptionMessage(_msgID));
   
  -      this.msgID = msgID;
  +      this.msgID = _msgID;
         this.originalException = null;
      }
   
  @@ -139,11 +139,11 @@
       * @param msgID
       * @param exArgs
       */
  -   public XMLSecurityException(String msgID, Object exArgs[]) {
  +   public XMLSecurityException(String _msgID, Object exArgs[]) {
   
  -      super(MessageFormat.format(I18n.getExceptionMessage(msgID), exArgs));
  +      super(MessageFormat.format(I18n.getExceptionMessage(_msgID), exArgs));
   
  -      this.msgID = msgID;
  +      this.msgID = _msgID;
         this.originalException = null;
      }
   
  @@ -152,15 +152,15 @@
       *
       * @param originalException
       */
  -   public XMLSecurityException(Exception originalException) {
  +   public XMLSecurityException(Exception _originalException) {
   
         super("Missing message ID to locate message string in resource bundle \""
               + Constants.exceptionMessagesResourceBundleBase
               + "\". Original Exception was a "
  -            + originalException.getClass().getName() + " and message "
  -            + originalException.getMessage());
  +            + _originalException.getClass().getName() + " and message "
  +            + _originalException.getMessage());
   
  -      this.originalException = originalException;
  +      this.originalException = _originalException;
      }
   
      /**
  @@ -169,12 +169,12 @@
       * @param msgID
       * @param originalException
       */
  -   public XMLSecurityException(String msgID, Exception originalException) {
  +   public XMLSecurityException(String _msgID, Exception _originalException) {
   
  -      super(I18n.getExceptionMessage(msgID, originalException));
  +      super(I18n.getExceptionMessage(_msgID, _originalException));
   
  -      this.msgID = msgID;
  -      this.originalException = originalException;
  +      this.msgID = _msgID;
  +      this.originalException = _originalException;
      }
   
      /**
  @@ -184,13 +184,13 @@
       * @param exArgs
       * @param originalException
       */
  -   public XMLSecurityException(String msgID, Object exArgs[],
  -                               Exception originalException) {
  +   public XMLSecurityException(String _msgID, Object exArgs[],
  +                               Exception _originalException) {
   
  -      super(MessageFormat.format(I18n.getExceptionMessage(msgID), exArgs));
  +      super(MessageFormat.format(I18n.getExceptionMessage(_msgID), exArgs));
   
  -      this.msgID = msgID;
  -      this.originalException = originalException;
  +      this.msgID = _msgID;
  +      this.originalException = _originalException;
      }
   
      /**
  
  
  
  1.3       +14 -14    xml-security/src/org/apache/xml/security/exceptions/AlgorithmAlreadyRegisteredException.java
  
  Index: AlgorithmAlreadyRegisteredException.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/exceptions/AlgorithmAlreadyRegisteredException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AlgorithmAlreadyRegisteredException.java	21 Aug 2002 11:46:50 -0000	1.2
  +++ AlgorithmAlreadyRegisteredException.java	20 Nov 2003 08:34:20 -0000	1.3
  @@ -81,42 +81,42 @@
      /**
       * Constructor AlgorithmAlreadyRegisteredException
       *
  -    * @param msgID
  +    * @param _msgID
       */
  -   public AlgorithmAlreadyRegisteredException(String msgID) {
  -      super(msgID);
  +   public AlgorithmAlreadyRegisteredException(String _msgID) {
  +      super(_msgID);
      }
   
      /**
       * Constructor AlgorithmAlreadyRegisteredException
       *
  -    * @param msgID
  +    * @param _msgID
       * @param exArgs
       */
  -   public AlgorithmAlreadyRegisteredException(String msgID, Object exArgs[]) {
  -      super(msgID, exArgs);
  +   public AlgorithmAlreadyRegisteredException(String _msgID, Object exArgs[]) {
  +      super(_msgID, exArgs);
      }
   
      /**
       * Constructor AlgorithmAlreadyRegisteredException
       *
  -    * @param msgID
  +    * @param _msgID
       * @param originalException
       */
  -   public AlgorithmAlreadyRegisteredException(String msgID,
  -                                              Exception originalException) {
  -      super(msgID, originalException);
  +   public AlgorithmAlreadyRegisteredException(String _msgID,
  +                                              Exception _originalException) {
  +      super(_msgID, _originalException);
      }
   
      /**
       * Constructor AlgorithmAlreadyRegisteredException
       *
  -    * @param msgID
  +    * @param _msgID
       * @param exArgs
       * @param originalException
       */
  -   public AlgorithmAlreadyRegisteredException(String msgID, Object exArgs[],
  -                                              Exception originalException) {
  -      super(msgID, exArgs, originalException);
  +   public AlgorithmAlreadyRegisteredException(String _msgID, Object exArgs[],
  +                                              Exception _originalException) {
  +      super(_msgID, exArgs, _originalException);
      }
   }
  
  
  
  1.3       +14 -14    xml-security/src/org/apache/xml/security/exceptions/Base64DecodingException.java
  
  Index: Base64DecodingException.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/exceptions/Base64DecodingException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Base64DecodingException.java	29 Jan 2002 08:34:49 -0000	1.2
  +++ Base64DecodingException.java	20 Nov 2003 08:34:20 -0000	1.3
  @@ -78,42 +78,42 @@
      /**
       * Constructor Base64DecodingException
       *
  -    * @param msgID
  +    * @param _msgID
       */
  -   public Base64DecodingException(String msgID) {
  -      super(msgID);
  +   public Base64DecodingException(String _msgID) {
  +      super(_msgID);
      }
   
      /**
       * Constructor Base64DecodingException
       *
  -    * @param msgID
  +    * @param _msgID
       * @param exArgs
       */
  -   public Base64DecodingException(String msgID, Object exArgs[]) {
  -      super(msgID, exArgs);
  +   public Base64DecodingException(String _msgID, Object exArgs[]) {
  +      super(_msgID, exArgs);
      }
   
      /**
       * Constructor Base64DecodingException
       *
  -    * @param msgID
  +    * @param _msgID
       * @param originalException
       */
  -   public Base64DecodingException(String msgID,
  -                                              Exception originalException) {
  -      super(msgID, originalException);
  +   public Base64DecodingException(String _msgID,
  +                                              Exception _originalException) {
  +      super(_msgID, _originalException);
      }
   
      /**
       * Constructor Base64DecodingException
       *
  -    * @param msgID
  +    * @param _msgID
       * @param exArgs
       * @param originalException
       */
  -   public Base64DecodingException(String msgID, Object exArgs[],
  -                                              Exception originalException) {
  -      super(msgID, exArgs, originalException);
  +   public Base64DecodingException(String _msgID, Object exArgs[],
  +                                              Exception _originalException) {
  +      super(_msgID, exArgs, _originalException);
      }
   }