Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui
Class MultiPartInitException

java.lang.Object
  extended by 

java.lang.Throwable
      extended by 

java.lang.Exception
          extended by 

org.eclipse.core.runtime.CoreException
              extended by 

org.eclipse.ui.WorkbenchException
                  extended by 
org.eclipse.ui.MultiPartInitException
All Implemented Interfaces:
Serializable

public class MultiPartInitException
extends WorkbenchException

A checked exception indicating one or more workbench parts could not be initialized correctly. The message text provides a further description of the problem.

Since:
3.5
See Also:
Serialized Form
Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
MultiPartInitException ( IWorkbenchPartReference[] references, PartInitException[] exceptions)
          Creates a new exception object.
 
Method Summary
  PartInitException[] getExceptions ()
          Returns an array of exceptions, corresponding to parts that could not be intialized correctly.
  IWorkbenchPartReference[] getReferences ()
          Returns an array of part references, containing references of parts that were intialized correctly.
 
Methods inherited from class org.eclipse.core.runtime. CoreException
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang. Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiPartInitException

public MultiPartInitException(
IWorkbenchPartReference[] references,
                              
PartInitException[] exceptions)
Creates a new exception object. Note that as of 3.5, this constructor expects exactly one exception object in the given array, with all other array positions being null. The restriction may be lifted in the future, and clients of this class must not make this assumption.

Parameters:
references -
exceptions -
Method Detail

getReferences

public 
IWorkbenchPartReference[] getReferences()
Returns an array of part references, containing references of parts that were intialized correctly. Any number of elements of the returned array may have a null value.

Returns:
the part reference array

getExceptions

public 
PartInitException[] getExceptions()
Returns an array of exceptions, corresponding to parts that could not be intialized correctly. At least one element of the returned array will have a non-null value.

Returns:
the exception array

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire