org.apache.ambari.view
Class NoSuchResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.ambari.view.NoSuchResourceException
- All Implemented Interfaces:
- Serializable
public class NoSuchResourceException
- extends Exception
Indicates that a resource doesn't exist.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchResourceException
public NoSuchResourceException(String resourceId)
- Constructor.
- Parameters:
resourceId - the resource id
getResourceId
public String getResourceId()
- Get the id of the non-existent resource.
- Returns:
- the resource id
Copyright © 2015 Apache Software Foundation. All rights reserved.