net.ontopia.topicmaps.webed.core
Class ActionRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.ontopia.utils.OntopiaRuntimeException
                  extended by net.ontopia.topicmaps.webed.core.ActionRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActionValidationException

public class ActionRuntimeException
extends OntopiaRuntimeException

PUBLIC: An exception that is thrown when something goes wrong while an action is being executed. Causes form processing to stop and the current transaction to be rolled back.

See Also:
Serialized Form

Field Summary
protected  boolean isCritical
           
 
Fields inherited from class net.ontopia.utils.OntopiaRuntimeException
cause
 
Constructor Summary
ActionRuntimeException(java.lang.String message)
          PUBLIC: Creates an exception with a string message.
ActionRuntimeException(java.lang.String message, boolean isCritical)
          PUBLIC: Creates an exception with a string message.
ActionRuntimeException(java.lang.String message, java.lang.Throwable cause)
          PUBLIC: Creates an exception with a string message which wraps the Throwable.
ActionRuntimeException(java.lang.String message, java.lang.Throwable cause, boolean isCritical)
          PUBLIC: Creates an exception with a string message which wraps the Throwable.
ActionRuntimeException(java.lang.Throwable e)
          PUBLIC: Creates an exception wrapping the Throwable.
ActionRuntimeException(java.lang.Throwable e, boolean isCritical)
          PUBLIC: Creates an exception wrapping the Throwable.
 
Method Summary
 boolean getCritical()
          PUBLIC: Returns the value of the critical property.
 void setCritical(boolean isCritical)
          PUBLIC: Sets the value of the critical property.
 
Methods inherited from class net.ontopia.utils.OntopiaRuntimeException
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isCritical

protected boolean isCritical
Constructor Detail

ActionRuntimeException

public ActionRuntimeException(java.lang.Throwable e)
PUBLIC: Creates an exception wrapping the Throwable.


ActionRuntimeException

public ActionRuntimeException(java.lang.String message)
PUBLIC: Creates an exception with a string message.


ActionRuntimeException

public ActionRuntimeException(java.lang.String message,
                              java.lang.Throwable cause)
PUBLIC: Creates an exception with a string message which wraps the Throwable. The messages and stack traces of both exceptions will be shown.


ActionRuntimeException

public ActionRuntimeException(java.lang.Throwable e,
                              boolean isCritical)
PUBLIC: Creates an exception wrapping the Throwable.

Parameters:
isCritical - Flag indicating whether this is a critical error.
Since:
3.0

ActionRuntimeException

public ActionRuntimeException(java.lang.String message,
                              boolean isCritical)
PUBLIC: Creates an exception with a string message.

Parameters:
isCritical - Flag indicating whether this is a critical error.
Since:
3.0

ActionRuntimeException

public ActionRuntimeException(java.lang.String message,
                              java.lang.Throwable cause,
                              boolean isCritical)
PUBLIC: Creates an exception with a string message which wraps the Throwable. The messages and stack traces of both exceptions will be shown.

Parameters:
isCritical - Flag indicating whether this is a critical error.
Since:
3.0
Method Detail

getCritical

public boolean getCritical()
PUBLIC: Returns the value of the critical property.

Since:
3.0

setCritical

public void setCritical(boolean isCritical)
PUBLIC: Sets the value of the critical property.

Since:
3.0


Copyright © 2000-2012 Ontopia.