From 53098902f13cedadcca0fc6a5734212a6339ec83 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Thu, 15 Nov 2001 05:22:28 +0000 Subject: [PATCH] improved some of the log messages --- .../core/impl/ConferenceUserContextImpl.java | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/src/com/silverwrist/venice/core/impl/ConferenceUserContextImpl.java b/src/com/silverwrist/venice/core/impl/ConferenceUserContextImpl.java index ce93d02..efff60e 100644 --- a/src/com/silverwrist/venice/core/impl/ConferenceUserContextImpl.java +++ b/src/com/silverwrist/venice/core/impl/ConferenceUserContextImpl.java @@ -433,7 +433,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getReadLevel(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -446,7 +446,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getPostLevel(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -459,7 +459,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getCreateLevel(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -472,7 +472,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getHideLevel(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -485,7 +485,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getNukeLevel(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -498,7 +498,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getChangeLevel(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -511,7 +511,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getDeleteLevel(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -525,7 +525,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to change security info"); + logger.error("setSecurityLevels(): user not permitted to change security info"); throw new AccessError("You are not permitted to change security information for this conference."); } // end if @@ -581,7 +581,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to change name"); + logger.error("setName(): user not permitted to change name"); throw new AccessError("You are not permitted to change the name of this conference."); } // end if @@ -595,7 +595,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to change description"); + logger.error("setDescription(): user not permitted to change description"); throw new AccessError("You are not permitted to change the description of this conference."); } // end if @@ -609,7 +609,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to change aliases"); + logger.error("addAlias(): user not permitted to change aliases"); throw new AccessError("You are not permitted to change the aliases of this conference."); } // end if @@ -623,7 +623,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to change aliases"); + logger.error("removeAlias(): user not permitted to change aliases"); throw new AccessError("You are not permitted to change the aliases of this conference."); } // end if @@ -637,7 +637,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference security - logger.error("user not permitted to change membership"); + logger.error("setMembership(): user not permitted to change membership"); throw new AccessError("You are not permitted to change the membership of this conference."); } // end if @@ -668,7 +668,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend ConferenceCommunityContext c = getConferenceData(); if (!(comm.userCanCreateSubobjects())) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getCommunityGrantedLevel(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -682,7 +682,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend ConferenceCommunityContext c = getConferenceData(); if (!(comm.userCanCreateSubobjects())) { // this user can't modify the conference security - logger.error("user not permitted to change security info"); + logger.error("setCommunityGrantedLevel(): user not permitted to change security info"); throw new AccessError("You are not permitted to change security information for this conference."); } // end if @@ -696,7 +696,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend ConferenceCommunityContext c = getConferenceData(); if (!(comm.userCanCreateSubobjects())) { // this user can't modify the conference security - logger.error("user not permitted to retrieve layout info"); + logger.error("getSequence(): user not permitted to retrieve layout info"); throw new AccessError("You are not permitted to retrieve layout information for this conference."); } // end if @@ -710,7 +710,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend ConferenceCommunityContext c = getConferenceData(); if (!(comm.userCanCreateSubobjects())) { // this user can't modify the conference security - logger.error("user not permitted to set layout info"); + logger.error("setSequence(): user not permitted to set layout info"); throw new AccessError("You are not permitted to set layout information for this conference."); } // end if @@ -724,7 +724,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend ConferenceCommunityContext c = getConferenceData(); if (!(comm.userCanCreateSubobjects())) { // this user can't modify the conference security - logger.error("user not permitted to retrieve security info"); + logger.error("getHideList(): user not permitted to retrieve security info"); throw new AccessError("You are not permitted to retrieve security information for this conference."); } // end if @@ -738,7 +738,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend ConferenceCommunityContext c = getConferenceData(); if (!(comm.userCanCreateSubobjects())) { // this user can't modify the conference security - logger.error("user not permitted to change security info"); + logger.error("setHideList(): user not permitted to change security info"); throw new AccessError("You are not permitted to change security information for this conference."); } // end if @@ -861,7 +861,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canReadConference(level))) { // the luser can't even read the conference... - logger.error("user not permitted to get topics"); + logger.error("getTopicList(): user not permitted to get topics"); throw new AccessError("You are not permitted to read this conference."); } // end if @@ -875,7 +875,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canReadConference(level))) { // the luser can't even read the conference... - logger.error("user not permitted to change membership"); + logger.error("getTopic(): user not permitted to change membership"); throw new AccessError("You are not permitted to read this conference."); } // end if @@ -890,7 +890,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canCreateTopic(level))) { // not allowed to create a topic - bail out - logger.error("user not permitted to create new topic"); + logger.error("addTopic(): user not permitted to create new topic"); throw new AccessError("You are not permitted to create a topic in this conference."); } // end if @@ -967,7 +967,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canReadConference(level))) { // the luser can't even read the conference... - logger.error("user not permitted to get messages"); + logger.error("getMessageByPostID(): user not permitted to get messages"); throw new AccessError("You are not permitted to read this conference."); } // end if @@ -995,7 +995,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canReadConference(level))) { // the luser can't even read the conference... - logger.error("user not permitted to set unread messages"); + logger.error("fixSeen(): user not permitted to set unread messages"); throw new AccessError("You are not permitted to read this conference."); } // end if @@ -1068,7 +1068,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canReadConference(level))) { // the luser can't even read the conference... - logger.error("user not permitted to get posters list"); + logger.error("getActivePosters(): user not permitted to get posters list"); throw new AccessError("You are not permitted to read this conference."); } // end if @@ -1135,7 +1135,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canReadConference(level))) { // the luser can't even read the conference... - logger.error("user not permitted to get readers list"); + logger.error("getActiveReaders(): user not permitted to get readers list"); throw new AccessError("You are not permitted to read this conference."); } // end if @@ -1202,7 +1202,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canReadConference(level))) { // the luser can't even read the conference... - logger.error("user not permitted to get member list"); + logger.error("getMemberList(): user not permitted to get member list"); throw new AccessError("You are not permitted to read this conference."); } // end if @@ -1215,7 +1215,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canReadConference(level))) { // the luser can't even read the conference... - logger.error("user not permitted to get member data"); + logger.error("getMemberLevel(): user not permitted to get member data"); throw new AccessError("You are not permitted to read this conference."); } // end if @@ -1229,7 +1229,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend ConferenceCommunityContext ctxt = getConferenceData(); if (!(ctxt.canDeleteConference(level)) || !(comm.userCanDeleteSubobjects())) { // no way can we delete this conference, not NO way! - logger.error("user not permitted to delete conference"); + logger.error("delete(): user not permitted to delete conference"); throw new AccessError("You are not permitted to delete this conference."); } // end if @@ -1441,7 +1441,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference properties - logger.error("user not permitted to change properties"); + logger.error("getProperties(): user not permitted to change properties"); throw new AccessError("You are not permitted to change the properties of this conference."); } // end if @@ -1455,7 +1455,7 @@ class ConferenceUserContextImpl implements ConferenceContext, ConferenceBackend { if (!(getConferenceData().canChangeConference(level))) { // this user can't modify the conference properties - logger.error("user not permitted to change properties"); + logger.error("setProperties(): user not permitted to change properties"); throw new AccessError("You are not permitted to change the properties of this conference."); } // end if