mmp.engine
Class M4ExitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by mmp.engine.M4ExitException
All Implemented Interfaces:
java.io.Serializable

public class M4ExitException
extends java.lang.Exception

Exception that causes exit of mmp, used by 'm4exit.

Author:
Burkhardt Renz

Constructor Summary
M4ExitException(int exitCode)
          Constructor.
M4ExitException(int exitCode, java.lang.String message)
          Constructor.
 
Method Summary
 int getExitCode()
          Get exit code.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

M4ExitException

public M4ExitException(int exitCode)
Constructor.

Parameters:
exitCode - to be returned by mmp in case 'm4exit' was called

M4ExitException

public M4ExitException(int exitCode,
                       java.lang.String message)
Constructor.

Parameters:
exitCode - to be returned by mmp in case 'm4exit' was called
message - for tracing
Method Detail

getExitCode

public final int getExitCode()
Get exit code.

Returns:
the exit code