Package com.enonic.xp.schema.content.validator

## Class ContentTypeValidationError

- java.lang.Object
- - com.enonic.xp.schema.content.validator.ContentTypeValidationError

-     @PublicApi
      public final class ContentTypeValidationError
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ContentTypeValidationError​(String validationMessage, ContentTypeName contentTypeName)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getErrorMessage()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ContentTypeValidationError

          public ContentTypeValidationError​(String validationMessage,
                                            ContentTypeName contentTypeName)

  - ### Method Detail

    - #### getErrorMessage

          public String getErrorMessage()