Uses of Class
org.apache.wiki.api.exceptions.WikiException
Packages that use WikiException
Package
Description
The chief package of JSPWiki.
JSPWiki's central API.
JSPWiki's Engine's component related classes.
JSPWiki's API exceptions package.
Attachment management, uploading and downloading.
Authentication, Authorization and the third A thing.
Provides a cache abstraction for JSPWiki.
Provides content management functionality for JSPWiki.
Provides page and content filtering functionality for JSPWiki.
Entry point for JSPWiki's Page Objects.
Provides storage for JSPWiki.
Provides the JSPWiki rendering functionality.
Provides auth-related Tasks, meant to be executed by the workflow framework.
Provides WikiPages' saving related Tasks, meant to be executed by the workflow framework.
-
Uses of WikiException in org.apache.wiki
Methods in org.apache.wiki that throw WikiExceptionModifier and TypeMethodDescriptionvoid
WikiEngine.initialize
(Properties props) Does all the real initialization.void
WikiEngine.initReferenceManager()
Initializes the reference manager.Constructors in org.apache.wiki that throw WikiExceptionModifierConstructorDescriptionWikiEngine
(Properties properties) Instantiate the WikiEngine using a given set of properties.protected
WikiEngine
(javax.servlet.ServletContext context, String appid) Instantiate using this method when you're running as a servlet and WikiEngine will figure out where to look for the property file. -
Uses of WikiException in org.apache.wiki.api.core
Methods in org.apache.wiki.api.core that throw WikiExceptionModifier and TypeMethodDescriptionvoid
Engine.initialize
(Properties properties) Sets up the application's runningEngine
.default void
Engine.start
(Properties properties) Initializes theEngine
, notifying all theEngineLifecycleExtension
s. -
Uses of WikiException in org.apache.wiki.api.engine
Methods in org.apache.wiki.api.engine that throw WikiExceptionModifier and TypeMethodDescriptionvoid
Initializable.initialize
(Engine engine, Properties props) Initializes this Engine component. -
Uses of WikiException in org.apache.wiki.api.exceptions
Subclasses of WikiException in org.apache.wiki.api.exceptionsModifier and TypeClassDescriptionclass
A generic PageFilter exception.class
Marks an erroneous jspwiki.properties file.class
Marks that no such variable was located.class
Provides a generic PluginException.class
This exception represents the superclass of all exceptions that providers may throw.class
This exception may be thrown if a filter wants to reject something and redirect the user elsewhere.class
A generic Wiki exception, meant to carry key & args to construct i18n messages to show meaningful messages to end-user. -
Uses of WikiException in org.apache.wiki.attachment
Methods in org.apache.wiki.attachment that throw WikiExceptionModifier and TypeMethodDescriptionstatic String
AttachmentManager.validateFileName
(String filename) Validates the filename and makes sure it is legal. -
Uses of WikiException in org.apache.wiki.auth
Subclasses of WikiException in org.apache.wiki.authModifier and TypeClassDescriptionfinal class
Thrown in some error situations where a WikiPrincipal object does not exist.class
Indicates an authentication or authorization error or exception.Methods in org.apache.wiki.auth that throw WikiExceptionModifier and TypeMethodDescriptionSecurityVerifier.containerRoleTable()
Formats and returns an HTML table containing the roles the web container is aware of, and whether each role maps to particular JSPs.void
DefaultAuthenticationManager.initialize
(Engine engine, Properties props) Initializes this Engine component.void
DefaultAuthorizationManager.initialize
(Engine engine, Properties properties) Initializes this Engine component.void
DefaultUserManager.setUserProfile
(Context context, UserProfile profile) Saves theUserProfile
for the user in a wiki session.void
UserManager.setUserProfile
(Context context, UserProfile profile) Saves theUserProfile
for the user in a wiki session.void
DefaultUserManager.startUserProfileCreationWorkflow
(Context context, UserProfile profile) void
UserManager.startUserProfileCreationWorkflow
(Context context, UserProfile profile) SecurityVerifier.webContainerRoles()
If the active Authorizer is the WebContainerAuthorizer, returns the roles it knows about; otherwise, a zero-length array. -
Uses of WikiException in org.apache.wiki.auth.user
Subclasses of WikiException in org.apache.wiki.auth.userModifier and TypeClassDescriptionfinal class
Exception indicating that an identical user already exists in the user database. -
Uses of WikiException in org.apache.wiki.cache
Methods in org.apache.wiki.cache that throw WikiExceptionModifier and TypeMethodDescriptionvoid
EhcacheCachingManager.initialize
(Engine engine, Properties props) Initializes this Engine component. -
Uses of WikiException in org.apache.wiki.content
Methods in org.apache.wiki.content that throw WikiExceptionModifier and TypeMethodDescriptionDefaultPageRenamer.renamePage
(Context context, String renameFrom, String renameTo, boolean changeReferrers) Renames a page.PageRenamer.renamePage
(Context context, String renameFrom, String renameTo, boolean changeReferrers) Renames a page. -
Uses of WikiException in org.apache.wiki.filters
Methods in org.apache.wiki.filters that throw WikiExceptionModifier and TypeMethodDescriptionprotected void
DefaultFilterManager.initialize
(Properties props) Initializes the filters from an XML file.Constructors in org.apache.wiki.filters that throw WikiExceptionModifierConstructorDescriptionDefaultFilterManager
(Engine engine, Properties props) Constructs a new FilterManager object. -
Uses of WikiException in org.apache.wiki.pages
Methods in org.apache.wiki.pages that throw WikiExceptionModifier and TypeMethodDescriptionvoid
void
Writes the WikiText of a page into the page repository.Constructors in org.apache.wiki.pages that throw WikiExceptionModifierConstructorDescriptionDefaultPageManager
(Engine engine, Properties props) Creates a new PageManager. -
Uses of WikiException in org.apache.wiki.parser
Subclasses of WikiException in org.apache.wiki.parserModifier and TypeClassDescriptionclass
This is an exception which gets thrown whenever the parser cannot parse the parsing things. -
Uses of WikiException in org.apache.wiki.providers
Subclasses of WikiException in org.apache.wiki.providersModifier and TypeClassDescriptionclass
Indicates that an non-existing version was specified.class
If the provider detects that someone has modified the repository externally, it should throw this exception. -
Uses of WikiException in org.apache.wiki.render
Methods in org.apache.wiki.render that throw WikiExceptionModifier and TypeMethodDescriptionvoid
DefaultRenderingManager.initialize
(Engine engine, Properties properties) Initializes this Engine component. -
Uses of WikiException in org.apache.wiki.tasks.auth
Methods in org.apache.wiki.tasks.auth that throw WikiException -
Uses of WikiException in org.apache.wiki.tasks.pages
Methods in org.apache.wiki.tasks.pages that throw WikiExceptionModifier and TypeMethodDescriptionExecutes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
). -
Uses of WikiException in org.apache.wiki.workflow
Subclasses of WikiException in org.apache.wiki.workflowModifier and TypeClassDescriptionclass
Exception thrown when an activity -- that would otherwise complete silently -- cannot complete because a workflowDecision
is required.class
Exception thrown when an attempt is made to find an Outcome that does not exist.Methods in org.apache.wiki.workflow that throw WikiExceptionModifier and TypeMethodDescriptionvoid
SimpleNotification.acknowledge
(Context context) Convenience method that simply callsDecision.decide(Outcome, Context)
with the valueOutcome.DECISION_ACKNOWLEDGE
.WorkflowBuilder.buildApprovalWorkflow
(Principal submitter, String workflowApproverKey, Step prepTask, String decisionKey, Fact[] facts, Step completionTask, String rejectedMessageKey) void
Sets this Decision's outcome, and restarts the parent Workflow if it is in theWorkflow.WAITING
state and this Decision is its currently active Step.void
Attempts to complete a Decision by callingDecision.decide(Outcome, Context)
.abstract Outcome
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).Default implementation that always returnsOutcome.STEP_CONTINUE
if the current Outcome isn't a completion (which will be true if theDecision.decide(Outcome, Context)
method hasn't been executed yet.Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).DefaultWorkflowManager.getApprover
(String messageKey) Looks up and resolves the actor who approves a Decision for a particular Workflow, based on the Workflow's message key.WorkflowManager.getApprover
(String messageKey) Looks up and resolves the actor who approves a Decision for a particular Workflow, based on the Workflow's message key.protected final void
Workflow.processCurrentStep
(Context context) Protected method that processes the current Step by callingStep.execute(Context)
.void
Reassigns the owner of the Decision to a new owner.final void
Restarts the Workflow from theWorkflow.WAITING
state and puts it into theWorkflow.RUNNING
state again.final void
AbstractStep.start()
Starts the Step, and sets the start time to the moment when this method is first invoked.void
Step.start()
Starts the Step, and sets the start time to the moment when this method is first invoked.final void
Starts the Workflow and sets the state toWorkflow.RUNNING
.