org.apache.tools.ant

Class ExitException


public class ExitException
extends SecurityException

Used to report exit status of classes which call System.exit().
See Also:
NoExitSecurityManager, Permissions

Constructor Summary

ExitException(String msg, int status)
Constructs an exit exception.
ExitException(int status)
Constructs an exit exception.

Method Summary

int
getStatus()
The status code returned by System.exit()

Constructor Details

ExitException

public ExitException(String msg,
                     int status)
Constructs an exit exception.
Parameters:
msg - the message to be displayed.
status - the status code returned via System.exit()

ExitException

public ExitException(int status)
Constructs an exit exception.
Parameters:
status - the status code returned via System.exit()

Method Details

getStatus

public int getStatus()
The status code returned by System.exit()
Returns:
the status code returned by System.exit()

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.