All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.software_atelier.simpleflex.docs.impl.BeanShellDocException Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy