# Print output for @column tags ?> PropertyReader.PropertyTypeMismatchException - Android SDK | Android Developers

Most visited

Recently visited

PropertyReader.PropertyTypeMismatchException

public static class PropertyReader.PropertyTypeMismatchException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.view.inspector.PropertyReader.PropertyTypeMismatchException


Thrown if a client calls a typed read method for a property of a different type.

Summary

Public constructors

PropertyTypeMismatchException(int id, String expectedPropertyType, String actualPropertyType, String propertyName)
PropertyTypeMismatchException(int id, String expectedPropertyType, String actualPropertyType)

Inherited methods

Public constructors

PropertyTypeMismatchException

public PropertyTypeMismatchException (int id, 
                String expectedPropertyType, 
                String actualPropertyType, 
                String propertyName)

Parameters
id int

expectedPropertyType String: This value cannot be null.

actualPropertyType String: This value cannot be null.

propertyName String: This value may be null.

PropertyTypeMismatchException

public PropertyTypeMismatchException (int id, 
                String expectedPropertyType, 
                String actualPropertyType)

Parameters
id int

expectedPropertyType String: This value cannot be null.

actualPropertyType String: This value cannot be null.