ResourceNotFoundException (Apache Hadoop YARN API 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.exceptions, class: ResourceNotFoundException

Package org.apache.hadoop.yarn.exceptions

# Class ResourceNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.hadoop.yarn.exceptions.YarnRuntimeException
org.apache.hadoop.yarn.exceptions.ResourceNotFoundException

All Implemented Interfaces:
  `Serializable`

@Public @Unstable public class ResourceNotFoundException extends YarnRuntimeException
This exception is thrown when details of an unknown resource type are requested.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResourceNotFoundException(String message)`
  `ResourceNotFoundException(Resource resource, String type)`
  `ResourceNotFoundException(Resource resource, String type, Throwable cause)`

- ## Method Summary

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

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

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

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

- ## Constructor Details

  - ### ResourceNotFoundException

    public ResourceNotFoundException(Resource resource, String type)

  - ### ResourceNotFoundException

    public ResourceNotFoundException(Resource resource, String type, Throwable cause)

  - ### ResourceNotFoundException

    public ResourceNotFoundException(String message)