continued the separation by shifting all the exceptions into their own package
(preparatory to establishing some sort of service-based architecture)
This commit is contained in:
parent
9854ba1f76
commit
de971c9c7b
|
@ -18,6 +18,7 @@
|
|||
package com.silverwrist.venice.core;
|
||||
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface AdminOperations
|
||||
{
|
||||
|
|
|
@ -20,6 +20,7 @@ package com.silverwrist.venice.core;
|
|||
import java.util.Date;
|
||||
import java.util.Locale;
|
||||
import java.util.TimeZone;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.security.Role;
|
||||
|
||||
public interface AdminUserContext
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
package com.silverwrist.venice.core;
|
||||
|
||||
import java.io.InputStream;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface BinaryData
|
||||
{
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
package com.silverwrist.venice.core;
|
||||
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface CategoryDescriptor
|
||||
{
|
||||
|
|
|
@ -20,6 +20,9 @@ package com.silverwrist.venice.core;
|
|||
import java.util.BitSet;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.except.EmailException;
|
||||
|
||||
public interface CommunityContext extends SearchMode
|
||||
{
|
||||
|
|
|
@ -19,6 +19,8 @@ package com.silverwrist.venice.core;
|
|||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.htmlcheck.HTMLChecker;
|
||||
|
||||
public interface ConferenceContext
|
||||
|
|
|
@ -24,6 +24,7 @@ import org.w3c.dom.*;
|
|||
import org.xml.sax.SAXException;
|
||||
import org.xml.sax.SAXParseException;
|
||||
import com.silverwrist.util.DOMElementHelper;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
public class Startup
|
||||
{
|
||||
|
@ -32,7 +33,7 @@ public class Startup
|
|||
*--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
private static Category logger = Category.getInstance(Startup.class.getName());
|
||||
private static Category logger = Category.getInstance(Startup.class);
|
||||
|
||||
/*--------------------------------------------------------------------------------
|
||||
* Constructor
|
||||
|
|
|
@ -19,6 +19,8 @@ package com.silverwrist.venice.core;
|
|||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.htmlcheck.HTMLChecker;
|
||||
|
||||
public interface TopicContext
|
||||
|
|
|
@ -19,6 +19,8 @@ package com.silverwrist.venice.core;
|
|||
|
||||
import java.io.InputStream;
|
||||
import java.util.Date;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface TopicMessageContext
|
||||
{
|
||||
|
|
|
@ -20,6 +20,9 @@ package com.silverwrist.venice.core;
|
|||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.TimeZone;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.except.EmailException;
|
||||
|
||||
public interface UserContext extends SearchMode
|
||||
{
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
package com.silverwrist.venice.core;
|
||||
|
||||
import java.util.Date;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.except.EmailException;
|
||||
|
||||
public interface UserProfile
|
||||
{
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
*/
|
||||
package com.silverwrist.venice.core;
|
||||
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface UserSideBoxDescriptor extends SideBoxDescriptor
|
||||
{
|
||||
public abstract void setSequence(int seq) throws DataException;
|
||||
|
|
|
@ -21,6 +21,10 @@ import java.awt.Dimension;
|
|||
import java.util.BitSet;
|
||||
import java.util.List;
|
||||
import org.w3c.dom.Document;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.ConfigException;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.except.EmailException;
|
||||
import com.silverwrist.venice.htmlcheck.HTMLChecker;
|
||||
|
||||
public interface VeniceEngine extends SearchMode
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.apache.log4j.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
|
||||
class AdminOperationsImpl implements AdminOperations
|
||||
|
|
|
@ -24,6 +24,7 @@ import com.silverwrist.util.International;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.security.*;
|
||||
|
||||
class AdminUserContextImpl implements AdminUserContext
|
||||
|
|
|
@ -23,6 +23,7 @@ import com.silverwrist.util.cache.CacheMap;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.EnvEngine;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
class AdvertisementImpl implements Advertisement
|
||||
{
|
||||
|
|
|
@ -22,10 +22,10 @@ import java.util.*;
|
|||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.ParallelRunQueue;
|
||||
import com.silverwrist.util.cache.ObjectCache;
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.core.InternalStateError;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.except.InternalStateError;
|
||||
|
||||
class BackgroundCommunityPurge implements Runnable
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.sql.*;
|
|||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.ParallelRunQueue;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.core.InternalStateError;
|
||||
import com.silverwrist.venice.except.InternalStateError;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
|
||||
class BackgroundConferencePurge implements Runnable
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.apache.log4j.*;
|
|||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.EnvEngine;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
class CategoryDescriptorImpl implements CategoryDescriptor, Cloneable
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@ import com.silverwrist.util.cache.*;
|
|||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
|
||||
class CommunityCoreData implements CommunityData, CommunityDataBackend
|
||||
|
|
|
@ -24,6 +24,7 @@ import com.silverwrist.util.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
import com.silverwrist.venice.security.Role;
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.apache.log4j.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.htmlcheck.*;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ import com.silverwrist.util.OptionSet;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
|
||||
class ConferenceCoreData implements ConferenceData
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.apache.log4j.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.htmlcheck.*;
|
||||
import com.silverwrist.venice.security.Role;
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ import org.apache.log4j.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.EnvEngine;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
class ContactInfoImpl implements ContactInfo, Stashable
|
||||
{
|
||||
|
|
|
@ -25,6 +25,7 @@ import com.silverwrist.util.IOUtil;
|
|||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.EnvEngine;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
class ImageStore implements BinaryData
|
||||
{
|
||||
|
|
|
@ -25,6 +25,7 @@ import com.silverwrist.util.StringUtil;
|
|||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.EnvEngine;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
class PublishedMessageImpl implements TopicMessageContext
|
||||
{
|
||||
|
|
|
@ -20,8 +20,9 @@ package com.silverwrist.venice.core.impl;
|
|||
import java.sql.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
class SideBoxDescriptorImpl implements UserSideBoxDescriptor
|
||||
{
|
||||
|
|
|
@ -20,9 +20,9 @@ package com.silverwrist.venice.core.impl;
|
|||
import java.util.*;
|
||||
import javax.mail.*;
|
||||
import javax.mail.internet.*;
|
||||
import com.silverwrist.venice.core.EmailException;
|
||||
import com.silverwrist.venice.core.InternalStateError;
|
||||
import com.silverwrist.venice.core.internals.Emailer;
|
||||
import com.silverwrist.venice.except.EmailException;
|
||||
import com.silverwrist.venice.except.InternalStateError;
|
||||
|
||||
class SimpleEmailer implements Emailer
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ package com.silverwrist.venice.core.impl;
|
|||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface Stashable
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@ import com.silverwrist.util.StringUtil;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
|
||||
class TopicMessageUserContextImpl implements TopicMessageContext
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.apache.log4j.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.htmlcheck.*;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import com.silverwrist.venice.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.security.*;
|
||||
|
||||
class UserContextImpl implements UserContext, UserBackend
|
||||
|
|
|
@ -24,6 +24,7 @@ import com.silverwrist.util.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
class UserProfileImpl implements UserProfile
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@ import com.silverwrist.util.cache.*;
|
|||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.core.internals.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.htmlcheck.*;
|
||||
import com.silverwrist.venice.htmlcheck.dict.*;
|
||||
import com.silverwrist.venice.htmlcheck.filters.*;
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
*/
|
||||
package com.silverwrist.venice.core.internals;
|
||||
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.core.CommunityContext;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface CommunityBackend
|
||||
{
|
||||
|
|
|
@ -20,10 +20,10 @@ package com.silverwrist.venice.core.internals;
|
|||
import java.util.BitSet;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.core.CommunityProperties;
|
||||
import com.silverwrist.venice.core.ContactInfo;
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface CommunityData
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.sql.Connection;
|
|||
import java.sql.SQLException;
|
||||
import java.util.Date;
|
||||
import com.silverwrist.venice.db.PostLinkDecoderContext;
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface ConferenceBackend
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.sql.Connection;
|
|||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.core.ConferenceProperties;
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface ConferenceCommunityContext
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.sql.Connection;
|
|||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.core.ConferenceProperties;
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface ConferenceData
|
||||
{
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
package com.silverwrist.venice.core.internals;
|
||||
|
||||
import com.silverwrist.venice.core.EmailException;
|
||||
import com.silverwrist.venice.except.EmailException;
|
||||
|
||||
public interface Emailer
|
||||
{
|
||||
|
|
|
@ -23,11 +23,11 @@ import com.silverwrist.venice.security.AuditRecord;
|
|||
import com.silverwrist.venice.security.Role;
|
||||
import com.silverwrist.venice.security.SecurityMonitor;
|
||||
import com.silverwrist.venice.htmlcheck.HTMLChecker;
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.core.GlobalProperties;
|
||||
import com.silverwrist.venice.core.SideBoxDescriptor;
|
||||
import com.silverwrist.venice.core.TopicMessageContext;
|
||||
import com.silverwrist.venice.core.VeniceEngine;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface EngineBackend
|
||||
{
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
package com.silverwrist.venice.core.internals;
|
||||
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
import com.silverwrist.venice.security.Role;
|
||||
import com.silverwrist.venice.security.SecurityMonitor;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
package com.silverwrist.venice.core.internals;
|
||||
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.security.SecurityMonitor;
|
||||
|
||||
public class EnvCommunityData extends EnvEngine
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
package com.silverwrist.venice.core.internals;
|
||||
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.security.SecurityMonitor;
|
||||
|
||||
public class EnvConference extends EnvCommunity
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
package com.silverwrist.venice.core.internals;
|
||||
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.security.SecurityMonitor;
|
||||
|
||||
public class EnvConferenceData extends EnvEngine
|
||||
|
|
|
@ -20,9 +20,9 @@ package com.silverwrist.venice.core.internals;
|
|||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.core.SecurityInfo;
|
||||
import com.silverwrist.venice.db.*;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.security.*;
|
||||
|
||||
public class EnvEngine
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
package com.silverwrist.venice.core.internals;
|
||||
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.security.AuditRecord;
|
||||
import com.silverwrist.venice.security.Role;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
package com.silverwrist.venice.core.internals;
|
||||
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
|
||||
public interface UserBackend
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ import java.sql.*;
|
|||
import org.apache.log4j.*;
|
||||
import org.w3c.dom.*;
|
||||
import com.silverwrist.util.DOMElementHelper;
|
||||
import com.silverwrist.venice.core.ConfigException;
|
||||
import com.silverwrist.venice.except.ConfigException;
|
||||
|
||||
/**
|
||||
* A simple pooling system for JDBC connections, which allows connections to be kept in a pool until
|
||||
|
|
|
@ -19,8 +19,8 @@ package com.silverwrist.venice.db;
|
|||
|
||||
import java.sql.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.IDUtils;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class PostLinkDecoder
|
||||
{
|
||||
|
|
|
@ -19,11 +19,11 @@ package com.silverwrist.venice.db;
|
|||
|
||||
import java.sql.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.htmlcheck.Rewriter;
|
||||
import com.silverwrist.venice.htmlcheck.RewriterServices;
|
||||
import com.silverwrist.venice.htmlcheck.MarkupData;
|
||||
import com.silverwrist.venice.core.IDUtils;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class PostLinkRewriter implements Rewriter
|
||||
{
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
package com.silverwrist.venice.core;
|
||||
package com.silverwrist.venice.except;
|
||||
|
||||
public class AccessError extends com.silverwrist.venice.VeniceException
|
||||
public class AccessError extends VeniceException
|
||||
{
|
||||
public AccessError()
|
||||
{
|
|
@ -15,10 +15,9 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
package com.silverwrist.venice.core;
|
||||
package com.silverwrist.venice.except;
|
||||
|
||||
import org.w3c.dom.*;
|
||||
import com.silverwrist.venice.VeniceException;
|
||||
|
||||
public class ConfigException extends VeniceException
|
||||
{
|
|
@ -15,9 +15,9 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
package com.silverwrist.venice.core;
|
||||
package com.silverwrist.venice.except;
|
||||
|
||||
public class DataException extends com.silverwrist.venice.VeniceException
|
||||
public class DataException extends VeniceException
|
||||
{
|
||||
public DataException()
|
||||
{
|
|
@ -15,9 +15,9 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
package com.silverwrist.venice.core;
|
||||
package com.silverwrist.venice.except;
|
||||
|
||||
public class EmailException extends com.silverwrist.venice.VeniceException
|
||||
public class EmailException extends VeniceException
|
||||
{
|
||||
public EmailException()
|
||||
{
|
|
@ -15,7 +15,7 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
package com.silverwrist.venice.core;
|
||||
package com.silverwrist.venice.except;
|
||||
|
||||
import java.io.PrintStream;
|
||||
import java.io.PrintWriter;
|
|
@ -15,7 +15,7 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
package com.silverwrist.venice;
|
||||
package com.silverwrist.venice.except;
|
||||
|
||||
/**
|
||||
* An exception that is commonly thrown when a particular piece of data retrieved from the user is
|
|
@ -15,7 +15,7 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
package com.silverwrist.venice;
|
||||
package com.silverwrist.venice.except;
|
||||
|
||||
import java.io.PrintStream;
|
||||
import java.io.PrintWriter;
|
|
@ -7,7 +7,7 @@
|
|||
* WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
* language governing rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Venice Web Community System.
|
||||
* The Original Code is the Venice Web Communities System.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
* for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
|
@ -17,7 +17,9 @@
|
|||
*/
|
||||
package com.silverwrist.venice.htmlcheck;
|
||||
|
||||
public class HTMLCheckerException extends com.silverwrist.venice.VeniceException
|
||||
import com.silverwrist.venice.except.VeniceException;
|
||||
|
||||
public class HTMLCheckerException extends VeniceException
|
||||
{
|
||||
public HTMLCheckerException()
|
||||
{
|
||||
|
|
|
@ -21,8 +21,8 @@ import java.sql.*;
|
|||
import java.util.*;
|
||||
import com.silverwrist.venice.db.SQLUtil;
|
||||
import com.silverwrist.venice.core.AuditData;
|
||||
import com.silverwrist.venice.core.DataException;
|
||||
import com.silverwrist.venice.core.InternalStateError;
|
||||
import com.silverwrist.venice.except.DataException;
|
||||
import com.silverwrist.venice.except.InternalStateError;
|
||||
|
||||
public class AuditRecord implements AuditData
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ package com.silverwrist.venice.security;
|
|||
import java.io.IOException;
|
||||
import java.util.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
|
||||
public class PrimordialSecurityMonitor implements SecurityMonitor
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
package com.silverwrist.venice.security;
|
||||
|
||||
import java.util.List;
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
|
||||
public interface SecurityMonitor
|
||||
{
|
||||
|
|
|
@ -21,8 +21,8 @@ import java.util.*;
|
|||
import org.apache.log4j.*;
|
||||
import org.w3c.dom.*;
|
||||
import com.silverwrist.util.DOMElementHelper;
|
||||
import com.silverwrist.venice.core.AccessError;
|
||||
import com.silverwrist.venice.core.ConfigException;
|
||||
import com.silverwrist.venice.except.AccessError;
|
||||
import com.silverwrist.venice.except.ConfigException;
|
||||
|
||||
public class StaticSecurityMonitor implements SecurityMonitor
|
||||
{
|
||||
|
|
|
@ -23,8 +23,8 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class Account extends VeniceServlet
|
||||
|
|
|
@ -25,6 +25,7 @@ import org.apache.log4j.*;
|
|||
import com.silverwrist.util.ServletMultipartHandler;
|
||||
import com.silverwrist.util.ServletMultipartException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class Attachment extends VeniceServlet
|
||||
|
|
|
@ -23,8 +23,8 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class CommunityAdmin extends VeniceServlet
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.io.*;
|
|||
import javax.servlet.*;
|
||||
import javax.servlet.http.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class CommunityFrontEnd extends VeniceServlet
|
||||
|
|
|
@ -27,6 +27,7 @@ import com.silverwrist.util.ServletMultipartHandler;
|
|||
import com.silverwrist.util.ServletMultipartException;
|
||||
import com.silverwrist.util.image.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class CommunityLogo extends VeniceServlet
|
||||
|
|
|
@ -21,8 +21,8 @@ import java.io.*;
|
|||
import javax.servlet.*;
|
||||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class CommunityOperations extends VeniceServlet
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.io.*;
|
|||
import javax.servlet.*;
|
||||
import javax.servlet.http.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class CommunityProfile extends VeniceServlet
|
||||
|
|
|
@ -23,8 +23,8 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class ConfDisplay extends VeniceServlet
|
||||
|
|
|
@ -23,8 +23,8 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class ConfOperations extends VeniceServlet
|
||||
|
|
|
@ -20,8 +20,8 @@ package com.silverwrist.venice.servlets;
|
|||
import java.io.*;
|
||||
import javax.servlet.*;
|
||||
import javax.servlet.http.*;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class Find extends VeniceServlet
|
||||
|
|
|
@ -23,6 +23,7 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class ImageRetrieve extends VeniceServlet
|
||||
|
|
|
@ -22,6 +22,7 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class PasswordRecovery extends VeniceServlet
|
||||
|
|
|
@ -23,8 +23,8 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class PostMessage extends VeniceServlet
|
||||
|
|
|
@ -23,8 +23,8 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class PostOperations extends VeniceServlet
|
||||
|
|
|
@ -20,8 +20,8 @@ package com.silverwrist.venice.servlets;
|
|||
import java.io.*;
|
||||
import javax.servlet.*;
|
||||
import javax.servlet.http.*;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.db.PostLinkDecoder;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class Settings extends VeniceServlet
|
||||
|
|
|
@ -23,8 +23,8 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class SystemAdmin extends VeniceServlet
|
||||
|
|
|
@ -23,6 +23,7 @@ import javax.servlet.http.*;
|
|||
import org.apache.log4j.*;
|
||||
import org.apache.log4j.xml.DOMConfigurator;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class Top extends VeniceServlet
|
||||
|
|
|
@ -22,8 +22,8 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class TopicOperations extends VeniceServlet
|
||||
|
|
|
@ -22,6 +22,7 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class UserDisplay extends VeniceServlet
|
||||
|
|
|
@ -28,6 +28,7 @@ import com.silverwrist.util.ServletMultipartHandler;
|
|||
import com.silverwrist.util.ServletMultipartException;
|
||||
import com.silverwrist.util.image.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public class UserPhoto extends VeniceServlet
|
||||
|
|
|
@ -24,6 +24,7 @@ import javax.servlet.*;
|
|||
import javax.servlet.http.*;
|
||||
import org.apache.log4j.*;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
import com.silverwrist.venice.servlets.format.menus.LeftMenu;
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ import com.silverwrist.util.StringUtil;
|
|||
import com.silverwrist.util.ServletMultipartHandler;
|
||||
import com.silverwrist.util.ServletMultipartException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.servlets.format.*;
|
||||
|
||||
public abstract class VeniceServlet extends HttpServlet
|
||||
|
|
|
@ -20,8 +20,8 @@ package com.silverwrist.venice.servlets.format;
|
|||
import java.util.*;
|
||||
import javax.servlet.*;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
public class AdminFindUser implements JSPRender, SearchMode
|
||||
{
|
||||
|
|
|
@ -19,8 +19,8 @@ package com.silverwrist.venice.servlets.format;
|
|||
|
||||
import java.util.*;
|
||||
import com.silverwrist.util.*;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
import com.silverwrist.venice.security.Role;
|
||||
|
||||
public class AdminModifyUserDialog extends ContentDialog
|
||||
|
|
|
@ -20,7 +20,7 @@ package com.silverwrist.venice.servlets.format;
|
|||
import java.io.Writer;
|
||||
import java.io.IOException;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public abstract class CDBaseFormField implements CDFormField, ColorSelectors
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ package com.silverwrist.venice.servlets.format;
|
|||
import java.io.Writer;
|
||||
import java.io.IOException;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public abstract class CDBaseFormFieldReverse implements CDFormField, ColorSelectors
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ package com.silverwrist.venice.servlets.format;
|
|||
import java.io.Writer;
|
||||
import java.io.IOException;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class CDCheckBoxFormField extends CDBaseFormFieldReverse
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
package com.silverwrist.venice.servlets.format;
|
||||
|
||||
import com.silverwrist.venice.core.IDUtils;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class CDEmailAddressFormField extends CDTextFormField
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.Writer;
|
|||
import java.io.IOException;
|
||||
import javax.servlet.ServletRequest;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class CDFormCategoryHeader implements CDFormField, ColorSelectors
|
||||
{
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
package com.silverwrist.venice.servlets.format;
|
||||
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public interface CDFormField extends ComponentRender
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
package com.silverwrist.venice.servlets.format;
|
||||
|
||||
import java.io.*;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class CDIntegerFormField extends CDTextFormField
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ package com.silverwrist.venice.servlets.format;
|
|||
|
||||
import java.io.Writer;
|
||||
import java.io.IOException;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class CDPasswordFormField extends CDBaseFormField
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ package com.silverwrist.venice.servlets.format;
|
|||
|
||||
import java.io.Writer;
|
||||
import java.io.IOException;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class CDTextFormField extends CDBaseFormField
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
package com.silverwrist.venice.servlets.format;
|
||||
|
||||
import com.silverwrist.venice.core.IDUtils;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
import com.silverwrist.venice.except.ValidationException;
|
||||
|
||||
public class CDVeniceIDFormField extends CDTextFormField
|
||||
{
|
||||
|
|
|
@ -20,6 +20,7 @@ package com.silverwrist.venice.servlets.format;
|
|||
import java.util.*;
|
||||
import javax.servlet.ServletRequest;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.except.*;
|
||||
|
||||
public class CommunityCategoryBrowseData implements JSPRender
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user