Class InvalidPropertyNameException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.deviceatlas.exception.InvalidPropertyNameException
All Implemented Interfaces:
Serializable

public class InvalidPropertyNameException extends RuntimeException

The InvalidPropertyNameException is thrown when an attempt is made to get a property using a property name that does not exist. This typically happens if the property name is misspelled. A full list of possible property names can be found using the getPropertyNames() method of CarrierApi.

This is a RuntimeException and does not have to be checked for if the correct property names are used to lookup properties.

See Also:
  • Constructor Details

    • InvalidPropertyNameException

      public InvalidPropertyNameException(String message)