blob: 411eec9e6a41ccc4f045f91eaa9db058c8576885 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.jsdt.debug.internal.crossfire.event;
import org.eclipse.wst.jsdt.debug.core.jsdi.Location;
import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
import org.eclipse.wst.jsdt.debug.core.jsdi.event.ExceptionEvent;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest;
/**
* Default implementation of {@link ExceptionEvent} for Crossfire
*
* @since 1.0
*/
public class CFExceptionEvent extends CFLocatableEvent implements ExceptionEvent {
private String message = null;
/**
* Constructor
* @param vm
* @param request
* @param thread
* @param location
* @param message
*/
public CFExceptionEvent(VirtualMachine vm, EventRequest request, ThreadReference thread, Location location, String message) {
super(vm, request, thread, location);
this.message = message;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.event.ExceptionEvent#message()
*/
public String message() {
return message;
}
}