org.apache.cocoon.sample.action
Class ErrorThrowingAction

java.lang.Object
  extended by org.apache.cocoon.sample.action.ErrorThrowingAction
All Implemented Interfaces:
Action

public class ErrorThrowingAction
extends Object
implements Action


Constructor Summary
ErrorThrowingAction()
           
 
Method Summary
 void execute()
          
 void setConfiguration(Map<String,? extends Object> configuration)
           
 void setup(Map<String,Object> parameters)
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorThrowingAction

public ErrorThrowingAction()
Method Detail

setup

public void setup(Map<String,Object> parameters)
           throws Exception

Specified by:
setup in interface Action
Throws:
Exception
See Also:
Action.setup(java.util.Map)

execute

public void execute()
             throws Exception

Specified by:
execute in interface Action
Throws:
Exception
See Also:
Action.execute()

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()

setConfiguration

public void setConfiguration(Map<String,? extends Object> configuration)
Specified by:
setConfiguration in interface Action


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.