Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package freemarker.debug;
 
Event describing a suspension of an environment (ie because it hit a breakpoint).

Author(s):
Attila Szegedi
Version:
$Id: EnvironmentSuspendedEvent.java,v 1.1.2.1 2006/11/27 07:54:19 szegedia Exp $
public class EnvironmentSuspendedEvent extends EventObject
    private static final long serialVersionUID = 1L;
    private final int line;
    private final DebuggedEnvironment env;
    public EnvironmentSuspendedEvent(Object sourceint lineDebuggedEnvironment env)
    {
        super(source);
        this. = line;
        this. = env;
    }

    
The line number in the template where the execution of the environment was suspended.

Returns:
int the line number
    public int getLine()
    {
        return ;
    }

    
The environment that was suspended

Returns:
DebuggedEnvironment
    {
        return ;
    }
New to GrepCode? Check out our FAQ X