old_contents: #!/usr/bin/env python
  """
  :Author Patrik Valkovic
  :Created 23.06.2017 16:39
  :Licence GNUv3
  Part of grammpy
  
  """
  
  from .GrammpyException import GrammpyException
  
  
  class NotNonterminalException(GrammpyException):
      pass
  
new_contents: #!/usr/bin/env python
  """
  :Author Patrik Valkovic
  :Created 23.06.2017 16:39
  :Licence GNUv3
  Part of grammpy
  
  """
  from typing import Any
  
  from .GrammpyException import GrammpyException
  
  
  class NotNonterminalException(GrammpyException):
      def __init__(self, parameter, *args: Any) -> None:
          super().__init__(*args)
          self.object = parameter
  
subject: Implement NotNonterminalEception __init__ method and pass object