Class SliderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.service.exceptions.ServiceLaunchException
org.apache.hadoop.yarn.service.exceptions.SliderException
All Implemented Interfaces:
Serializable, SliderExitCodes, ExitCodeProvider, LauncherExitCodes
Direct Known Subclasses:
BadClusterStateException, BadCommandArgumentsException, BadConfigException, UsageException

public class SliderException extends ServiceLaunchException implements SliderExitCodes
See Also:
  • Constructor Details

    • SliderException

      public SliderException()
    • SliderException

      public SliderException(int code, String message)
    • SliderException

      public SliderException(String s)
    • SliderException

      public SliderException(String s, Throwable throwable)
    • SliderException

      public SliderException(int code, String message, Object... args)
      Format the exception as you create it
      Parameters:
      code - exit code
      message - exception message -sprintf formatted
      args - arguments for the formatting
    • SliderException

      public SliderException(int code, Throwable throwable, String message, Object... args)
      Format the exception, include a throwable. The throwable comes before the message so that it is out of the varargs
      Parameters:
      code - exit code
      throwable - thrown
      message - message
      args - arguments