Shell.ExitCodeException (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.util, class: Shell, class: ExitCodeException

Package org.apache.hadoop.util

# Class Shell.ExitCodeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.util.Shell.ExitCodeException

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  Shell

public static class Shell.ExitCodeException extends IOException
This is an IOException with exit code added.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExitCodeException(int exitCode, String message)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getExitCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ExitCodeException

    public ExitCodeException(int exitCode, String message)

- ## Method Details

  - ### getExitCode

    public int getExitCode()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Throwable`