com.screamingcoder.plebeians.exception
Class CleanShutdownException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.screamingcoder.plebeians.exception.CleanShutdownException
All Implemented Interfaces:
java.io.Serializable

public class CleanShutdownException
extends java.lang.RuntimeException

If the target application throws this exception the StartMain class will catch it and will exit quietly with no stack traces, optionally printing the given message to stdout.

See Also:
Serialized Form

Constructor Summary
CleanShutdownException()
          Creates a new instance of CleanShutdownException without detail message.
CleanShutdownException(java.lang.String msg)
          Constructs an instance of CleanShutdownException with the specified detail message.
 
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
 

Constructor Detail

CleanShutdownException

public CleanShutdownException()
Creates a new instance of CleanShutdownException without detail message.


CleanShutdownException

public CleanShutdownException(java.lang.String msg)
Constructs an instance of CleanShutdownException with the specified detail message.

Parameters:
msg - the detail message. This will be printed to stdout on exit.