ch.software_atelier.simpleflex.docs.impl.BeanShellDocException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simpleflex-base Show documentation
Show all versions of simpleflex-base Show documentation
Build Micro Services with pico footprint
package ch.software_atelier.simpleflex.docs.impl;
public class BeanShellDocException extends Exception{
public static int EXCEPTION_FILE_IO = -10;
public static int EXCEPTION_INVALIDE_PART = -20;
private int _partPos = -1;
BeanShellDocException(Throwable th, int partPos){
_partPos = partPos;
}
/**
* Returns the PartPosition that has thrown this Exception.
* Example: if it returns 3 there is somthing wrong in the
* third BeanShell part.
* @return
*/
public int getPartPos(){
return _partPos;
}
}