org.apache.ambari.view
Class UnsupportedPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.ambari.view.UnsupportedPropertyException
- All Implemented Interfaces:
- Serializable
public class UnsupportedPropertyException
- extends Exception
Thrown to indicate that the requested properties are not supported for the
associated resource type.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnsupportedPropertyException
public UnsupportedPropertyException(String type,
Set<String> propertyIds)
- Construct an UnsupportedPropertyException.
- Parameters:
type - the resource typepropertyIds - the unsupported property ids
getType
public String getType()
- Get the resource type.
- Returns:
- the resource type
getPropertyIds
public Set<String> getPropertyIds()
- Get the unsupported property ids.
- Returns:
- the unsupported property ids
Copyright © 2015 Apache Software Foundation. All rights reserved.