Project

General

Profile

« Previous | Next » 

Revision 678

Added by berkley over 23 years ago

added location info to catch statements

View differences:

src/edu/ucsb/nceas/metacat/AccessControlList.java
543 543

  
544 544
      } catch (SQLException e) {
545 545
        throw new 
546
        SQLException("Error checking document's public access: "
546
        SQLException("Error in AccessControlList.hasPermission "
547 547
                      + e.getMessage());
548 548
      }
549 549
    }
......
657 657

  
658 658
  /** decrease the number of access to @resourceID for @principal */
659 659
  private void decreaseNumberOfAccess(int permission, String principal,
660
                                      String resourceID, String permType)
660
                                      String resourceID, String permType) 
661 661
               throws SQLException
662 662
  {
663 663
    PreparedStatement pstmt;

Also available in: Unified diff