edu.pdx.cs399J.grader
Class TesterExitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.pdx.cs399J.grader.TesterExitException
All Implemented Interfaces:
Serializable

public class TesterExitException
extends RuntimeException

This exception is thrown when the TesterSecurityManager attempts to exit the JVM. This allows us to execute multiple main methods inside the same JVM. Note that it must subclass RuntimeException. If it didn't we'd have to explicitly declare it in the throws clause.

See Also:
Serialized Form

Constructor Summary
TesterExitException(String message)
          Create a new TesterExitException
 
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

TesterExitException

public TesterExitException(String message)
Create a new TesterExitException



Copyright © 2000-2009 Portland State University. All Rights Reserved.