IllegalModelException (Common API)

Overview - Common API - Client API - Admin API - Runtime API

IllegalModelException

Exception throws when a composer file is semantically invalid

Details

  • Extends BaseFileException

  • Module common

See also

  • See (see {@link basefileexception)

Method Summary

Name Returns Description
constructor void Create an IllegalModelException.
getModelFile string Returns the modelfile associated with the exception or null

Method Details

new IllegalModelException()

Create an IllegalModelException.

Parameters

Name Type Optional Description
message String false the message for the exception
modelFile ModelFile true the optional modelfile associated with the exception
fileLocation Object true location details of the error within the model file.

Sub-options

Name Type Optional Description
fileLocation.start.line String false start line of the error location.
fileLocation.start.column String false start column of the error location.
fileLocation.end.line String false end line of the error location.
fileLocation.end.column String false end column of the error location.

getModelFile

string getModelFile( )

Returns the modelfile associated with the exception or null

Returns

string - the optional filename associated with the model

Parameters

No parameters