l3cover.tools.rulecomp
クラス CompilationException

java.lang.Object
  拡張java.lang.Throwable
      拡張java.lang.Exception
          拡張l3cover.tools.rulecomp.CompilationException
すべての実装インタフェース:
java.io.Serializable

public class CompilationException
extends java.lang.Exception

Exception thrown when a compilation error occurred

作成者:
Toshihiro YOSHINO
関連項目:
直列化された形式

コンストラクタの概要
CompilationException(java.lang.String message)
          Constructor
CompilationException(java.lang.String message, java.lang.String sourceName, int line, int column)
          Constructor
 
メソッドの概要
 int getColumn()
          Returns the column where an exception occurred
 int getLine()
          Returns the line where an exception occurred
 java.lang.String getPositionString()
          Returns a string describing the position where an error occurred (in GCC-style)
 java.lang.String getSourceName()
          Returns the name of the source code where an exception occurred
 
クラス java.lang.Throwable から継承したメソッド
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

CompilationException

public CompilationException(java.lang.String message,
                            java.lang.String sourceName,
                            int line,
                            int column)
Constructor

パラメータ:
message - Error message
sourceName - name of the source code
line - line number where an error occurred
column - column in a line where an error occurred

CompilationException

public CompilationException(java.lang.String message)
Constructor

パラメータ:
message - Error message
メソッドの詳細

getSourceName

public java.lang.String getSourceName()
Returns the name of the source code where an exception occurred

戻り値:
name of the source code

getLine

public int getLine()
Returns the line where an exception occurred

戻り値:
line number

getColumn

public int getColumn()
Returns the column where an exception occurred

戻り値:
column in a line

getPositionString

public java.lang.String getPositionString()
Returns a string describing the position where an error occurred (in GCC-style)

戻り値:
position string