From 4d51a026628c1d135cf77563da2523791bd2ee6f Mon Sep 17 00:00:00 2001 From: David Inglis Date: Thu, 3 Jun 2004 15:16:56 +0000 Subject: [PATCH] add throws CoreException on getStream.... --- .../src/org/eclipse/cdt/core/resources/IConsole.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/IConsole.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/IConsole.java index ad335419823..0ffc5829c3a 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/IConsole.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/IConsole.java @@ -7,12 +7,13 @@ package org.eclipse.cdt.core.resources; import org.eclipse.cdt.core.ConsoleOutputStream; import org.eclipse.core.resources.IProject; +import org.eclipse.core.runtime.CoreException; public interface IConsole { void start(IProject project); - ConsoleOutputStream getOutputStream(); - ConsoleOutputStream getInfoStream(); - ConsoleOutputStream getErrorStream(); + ConsoleOutputStream getOutputStream() throws CoreException; + ConsoleOutputStream getInfoStream() throws CoreException; + ConsoleOutputStream getErrorStream() throws CoreException; }