Saxon.Api

 

 

Saxon.Api

Class CommandExitException


public class CommandExitException
extends Exception

The CommandExitException class is used to signal to the CLI runner that something untoward has happened and the process should exit non-zero with the status code from getCode().

Constructor Summary

CommandExitException (int code, string message)

Create a CommandExitException.

 

Method Summary

 int getCode ()

Get the exit status code for this exception.

 

Constructor Detail

CommandExitException

public CommandExitException(int code,
                            string message)

Create a CommandExitException.

Parameters:

code - The exit status code
message - The error message

Method Detail

getCode

public int getCode()

Get the exit status code for this exception.

Returns:

The status code