Class NewsNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
transmatter.platform.administration.news.exception.NewsNotFoundException
All Implemented Interfaces:
graphql.GraphQLError, Serializable

public class NewsNotFoundException extends RuntimeException implements graphql.GraphQLError
See Also:
  • Field Details

  • Constructor Details

    • NewsNotFoundException

      public NewsNotFoundException(String id)
  • Method Details

    • getLocations

      public List<graphql.language.SourceLocation> getLocations()
      Specified by:
      getLocations in interface graphql.GraphQLError
    • getErrorType

      public graphql.ErrorClassification getErrorType()
      Specified by:
      getErrorType in interface graphql.GraphQLError
    • getExtensions

      public Map<String,Object> getExtensions()
      Specified by:
      getExtensions in interface graphql.GraphQLError