Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2006-01-16 19:45:25 +0000
committerThomas Watson2006-01-16 19:45:25 +0000
commitfdb3b95b147f6f8a68c795c5e52853938be15fa4 (patch)
tree4e2bc179796ebdbde731dd2055732b99c628165c /bundles
parent9c25dd54b2947bb9fadb19f9b147196bf9f10045 (diff)
downloadrt.equinox.bundles-fdb3b95b147f6f8a68c795c5e52853938be15fa4.tar.gz
rt.equinox.bundles-fdb3b95b147f6f8a68c795c5e52853938be15fa4.tar.xz
rt.equinox.bundles-fdb3b95b147f6f8a68c795c5e52853938be15fa4.zip
Latest MEG API updates from OSGi.
Diffstat (limited to 'bundles')
-rwxr-xr-xbundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java4
-rwxr-xr-xbundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationException.java13
2 files changed, 8 insertions, 9 deletions
diff --git a/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java b/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java
index 62718966c..e3b003ff3 100755
--- a/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java
+++ b/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java
@@ -1,5 +1,5 @@
/*
- * $Header: /cvsroot/eclipse/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java,v 1.1 2005/12/14 22:17:04 twatson Exp $
+ * $Header: /cvsroot/eclipse/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationDescriptor.java,v 1.2 2005/12/20 21:26:05 twatson Exp $
*
* Copyright (c) OSGi Alliance (2004, 2005). All Rights Reserved.
*
@@ -289,7 +289,7 @@ public abstract class ApplicationDescriptor {
throw new ApplicationException(ApplicationException.APPLICATION_LOCKED, "Application is locked, can't launch!");
}
if( !isLaunchableSpecific() )
- throw new ApplicationException(ApplicationException.APPLICAITON_NOT_LAUNCHABLE,
+ throw new ApplicationException(ApplicationException.APPLICATION_NOT_LAUNCHABLE,
"Cannot launch the application!");
checkArgs(arguments);
try {
diff --git a/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationException.java b/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationException.java
index 46e1f7fa6..d79f861d7 100755
--- a/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationException.java
+++ b/bundles/org.eclipse.equinox.app/src/org/osgi/service/application/ApplicationException.java
@@ -2,20 +2,19 @@ package org.osgi.service.application;
/**
* This exception is used to indicate problems related to application
- * lifecycle management
+ * lifecycle management.
*
- * <p>
* <code>ApplicationException</code> object is created by the Application Admin to denote
* an exception condition in the lifecycle of an application.
* <code>ApplicationException</code>s should not be created by developers.
- * <p>
+ * <br/>
* <code>ApplicationException</code>s are associated with an error code. This code
* describes the type of problem reported in this exception. The possible codes are:
* <ul>
- * <li> {@link #APPLICATION_LOCKED} - The application couldn't be launched because it is locked.
- * <li> {@link #APPLICAITON_NOT_LAUNCHABLE} - The application is not in launchable state.
+ * <li> {@link #APPLICATION_LOCKED} - The application couldn't be launched because it is locked.</li>
+ * <li> {@link #APPLICAITON_NOT_LAUNCHABLE} - The application is not in launchable state.</li>
* <li> {@link #APPLICATION_INTERNAL_ERROR} - An exception was thrown by the application or its
- * container during launch.
+ * container during launch.</li>
* </ul>
*
*/
@@ -34,7 +33,7 @@ public class ApplicationException extends Exception {
* {@link ApplicationDescriptor#APPLICATION_LAUNCHABLE}
* attribute is false.
*/
- public static final int APPLICAITON_NOT_LAUNCHABLE = 0x02;
+ public static final int APPLICATION_NOT_LAUNCHABLE = 0x02;
/**
* An exception was thrown by the application or the corresponding

Back to the top