simulink

edu.tum.cs.simulink.builder
Class MDLParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.tum.cs.simulink.builder.MDLParserException
All Implemented Interfaces:
java.io.Serializable

public class MDLParserException
extends java.lang.Exception

Exception thrown by the MDL parser. Exceptions may wrap other exceptions. *

Version:
$Rev: 26285 $
Author:
Florian Deissenboeck, $Author: juergens $
See Also:
Serialized Form
Rating:
GREEN Hash: 56E0BD5F648605D97FBE7D74B24B7942

Constructor Summary
MDLParserException(java.lang.Exception exception)
          Create new parser exception wrapping another exception.
MDLParserException(java.lang.String message)
          Create new parser exception.
MDLParserException(java.lang.String message, int lineNumber, int columnNumber)
          Create new parser exception.
 
Method Summary
 int getColumnNumber()
          Get line in the input file where problem occurred.
 int getLineNumber()
          Get column in the input file where problem occurred.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MDLParserException

public MDLParserException(java.lang.String message)
Create new parser exception.


MDLParserException

public MDLParserException(java.lang.String message,
                          int lineNumber,
                          int columnNumber)
Create new parser exception.

Parameters:
message - exception description
lineNumber - line in the input file where problem occurred
columnNumber - column in the input file where problem occurred

MDLParserException

public MDLParserException(java.lang.Exception exception)
Create new parser exception wrapping another exception.

Method Detail

getColumnNumber

public int getColumnNumber()
Get line in the input file where problem occurred.


getLineNumber

public int getLineNumber()
Get column in the input file where problem occurred.


simulink

simulink - 2.7