Class ResourceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.cloudformation.exceptions.BaseHandlerException
software.amazon.cloudformation.exceptions.CfnNotFoundException
software.amazon.cloudformation.exceptions.ResourceNotFoundException
- All Implemented Interfaces:
java.io.Serializable
public class ResourceNotFoundException extends CfnNotFoundException
Uses for this exception class should delegate instead to
CfnNotFoundException. Many APIs use exception classes titled
ResourceNotFoundException, and if handler authors use this class, they'll
often need to use the fully qualified exception name.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ResourceNotFoundException(java.lang.String resourceTypeName, java.lang.String resourceIdentifier)ResourceNotFoundException(java.lang.String resourceTypeName, java.lang.String resourceIdentifier, java.lang.Throwable cause)ResourceNotFoundException(java.lang.Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ResourceNotFoundException
public ResourceNotFoundException(java.lang.Throwable cause) -
ResourceNotFoundException
public ResourceNotFoundException(java.lang.String resourceTypeName, java.lang.String resourceIdentifier) -
ResourceNotFoundException
public ResourceNotFoundException(java.lang.String resourceTypeName, java.lang.String resourceIdentifier, java.lang.Throwable cause)
-