uk.ac.soton.itinnovation.grid.types
Class Stop

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.ac.soton.itinnovation.grid.types.Stop
All Implemented Interfaces:
Serializable

public class Stop
extends Exception

Exception thrown by admin tools to indicate that the user must stop and perform some configuration step.

In particular, ConfigUtils.stackTrace(Throwable) formats these exceptions specially by displaying any hint present, not escaping HTML special characters, and by skipping the stack trace of the Stop exception itself (any 'cause' given is shown, however).

See Also:
Serialized Form

Field Summary
 String hint
          An HTML formatted string containing a hint on how to fix this problem.
 
Constructor Summary
Stop(String message)
          Convenience constructor.
Stop(String message, String hint)
          Convenience constructor.
Stop(String message, String hint, Throwable ex)
          Full constructor.
Stop(String message, Throwable ex)
          Convenience constructor.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hint

public String hint
An HTML formatted string containing a hint on how to fix this problem. null if there is no hint.

Constructor Detail

Stop

public Stop(String message,
            String hint)
Convenience constructor.

Parameters:
message - an HTML message describing the problem
hint - a message suggesting how to fix it; HTML markup is allowed here

Stop

public Stop(String message,
            Throwable ex)
Convenience constructor.

Parameters:
message - an HTML message describing the problem
ex - the exception that caused the problem to be noticed

Stop

public Stop(String message,
            String hint,
            Throwable ex)
Full constructor.

Parameters:
message - an HTML message describing the problem
hint - a message suggesting how to fix it; HTML markup is allowed here
ex - the exception that caused the problem to be noticed

Stop

public Stop(String message)
Convenience constructor.

Parameters:
message - an HTML message describing the problem


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.