codesimian
Class CodesimianCompileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by codesimian.CodesimianCompileException
All Implemented Interfaces:
java.io.Serializable

public class CodesimianCompileException
extends java.lang.RuntimeException

Thrown when compiling codesimian code fails

See Also:
Serialized Form

Constructor Summary
CodesimianCompileException(java.lang.String message)
           
CodesimianCompileException(java.lang.String message, java.lang.String codesimianCode)
           
CodesimianCompileException(java.lang.String message, java.lang.String codesimianCode, CS unfinishedCompilerOutput)
           
CodesimianCompileException(java.lang.String message, java.lang.String codesimianCode, int indexStart, int indexSize, CS unfinishedCompilerOutput)
          any of these parameters (except message) can be null or 0
 
Method Summary
 int badCodeSize()
          0 if not used
 int badCodeStartIndex()
          0 if not used, but you can use 0.
 java.lang.String getCodesimianCode()
          can be null
 CS getUnfinishedCompilerOutput()
          can be null
 
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

CodesimianCompileException

public CodesimianCompileException(java.lang.String message,
                                  java.lang.String codesimianCode,
                                  int indexStart,
                                  int indexSize,
                                  CS unfinishedCompilerOutput)
any of these parameters (except message) can be null or 0


CodesimianCompileException

public CodesimianCompileException(java.lang.String message,
                                  java.lang.String codesimianCode,
                                  CS unfinishedCompilerOutput)

CodesimianCompileException

public CodesimianCompileException(java.lang.String message,
                                  java.lang.String codesimianCode)

CodesimianCompileException

public CodesimianCompileException(java.lang.String message)
Method Detail

getCodesimianCode

public java.lang.String getCodesimianCode()
can be null


getUnfinishedCompilerOutput

public CS getUnfinishedCompilerOutput()
can be null


badCodeStartIndex

public int badCodeStartIndex()
0 if not used, but you can use 0. badCodeSize()==0 determines if this range (start to start+size-1) is used. If the range has size 0, it is not used.


badCodeSize

public int badCodeSize()
0 if not used