net.drijf.javaone
Interface TestInterface
- public interface TestInterface
This interface defines some methods that test code should
implement. The TestMain
class tries to execute the
methods from code that has different permissions.
- Author:
- Otto Moerbeek
- See Also:
TestMain
tryToReadFile
public java.lang.String tryToReadFile(java.lang.String file)
throws java.io.IOException
- Try to read a file
tryToCreateThread
public void tryToCreateThread()
- Try to create a thread
tryToExitVM
public void tryToExitVM()
- Try to exit the VM