|
roller/src/org/roller/presentation RollerRequest.java,1.66,1.67: msg#00082java.roller.cvs
Update of /cvsroot/roller/roller/src/org/roller/presentation In directory sc8-pr-cvs1:/tmp/cvs-serv13471/src/org/roller/presentation Modified Files: RollerRequest.java Log Message: Better error message Index: RollerRequest.java =================================================================== RCS file: /cvsroot/roller/roller/src/org/roller/presentation/RollerRequest.java,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** RollerRequest.java 17 Sep 2003 02:18:35 -0000 1.66 --- RollerRequest.java 19 Sep 2003 01:31:14 -0000 1.67 *************** *** 20,23 **** --- 20,24 ---- import org.roller.pojos.WebsiteData; import org.roller.util.DateUtil; + import org.roller.util.Utilities; import java.text.ParsePosition; *************** *** 259,274 **** if ( mUser==null || mDate==null || mPage==null ) ! { ! StringBuffer sb = new StringBuffer(); ! sb.append("Invalid PathInfo: "); ! if (mUser == null) sb.append("No User Found. "); ! if (mDate == null) sb.append("No Date Found. "); ! if (mPage == null) sb.append("No Page Found. "); ! sb.append("pathInfo: "); ! sb.append(pathInfo); ! String msg = sb.toString(); ! ! mLogger.info(msg); ! throw new RollerException(msg); } --- 260,266 ---- if ( mUser==null || mDate==null || mPage==null ) ! { ! String msg = "Invalid pathInfo: "+StringUtils.join(pathInfo,"|"); ! mLogger.info(msg); throw new RollerException(msg); } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | roller/src/org/roller/presentation/newsfeeds NewsfeedCache.java,1.4,1.5, snoopdave |
|---|---|
| Next by Date: | roller ant.properties,1.32,1.33, snoopdave |
| Previous by Thread: | roller/src/org/roller/presentation/newsfeeds NewsfeedCache.java,1.4,1.5, snoopdave |
| Next by Thread: | roller ant.properties,1.32,1.33, snoopdave |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |