Searched refs:cause (Results 226 - 250 of 298) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/lang/
H A DProcessBuilder.java1029 Throwable cause = e;
1036 cause = ace;
1045 cause);
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DJConsole.java722 Throwable cause = null;
725 cause = c;
728 if (cause instanceof ConnectException) {
729 return msg + ": " + cause.getMessage();
730 } else if (cause instanceof UnknownHostException) {
731 return Resources.format(Messages.UNKNOWN_HOST, cause.getMessage());
732 } else if (cause instanceof NoRouteToHostException) {
733 return msg + ": " + cause.getMessage();
734 } else if (cause instanceof FailedLoginException) {
735 return msg + ": " + cause
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DDOMUtil.java845 * Creates a DOMException. On J2SE 1.4 and above the cause for the exception will be set.
847 public static DOMException createDOMException(short code, Throwable cause) { argument
848 DOMException de = new DOMException(code, cause != null ? cause.getMessage() : null);
849 if (cause != null && ThrowableMethods.fgThrowableMethodsAvailable) {
851 ThrowableMethods.fgThrowableInitCauseMethod.invoke(de, new Object [] {cause});
860 * Creates an LSException. On J2SE 1.4 and above the cause for the exception will be set.
862 public static LSException createLSException(short code, Throwable cause) { argument
863 LSException lse = new LSException(code, cause != null ? cause
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DDefaultMXBeanMappingFactory.java886 Throwable cause = builder.possibleCause();
887 if (cause != null)
888 possibleCause = cause;
903 msg += ". Remaining exceptions show a POSSIBLE cause.";
1414 Throwable cause) {
1415 return EnvHelp.initCause(new InvalidObjectException(msg), cause);
1418 static InvalidObjectException invalidObjectException(Throwable cause) { argument
1419 return invalidObjectException(cause.getMessage(), cause);
1422 static OpenDataException openDataException(String msg, Throwable cause) { argument
1413 invalidObjectException(String msg, Throwable cause) argument
1426 openDataException(Throwable cause) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/
H A DSOAPFaultBuilder.java263 * Initialize the cause of this exception by attaching the server side exception.
360 Throwable cause = e.getCause();
363 } else if (cause != null && cause instanceof SOAPFaultException) {
433 Throwable cause = e.getCause();
436 } else if (cause != null && cause instanceof SOAPFaultException) {
/openjdk7/jdk/src/share/classes/java/security/
H A DPolicy.java84 * calling <code>refresh</code> will cause it to re-read the configuration
540 Throwable cause = nsae.getCause();
541 if (cause instanceof IllegalArgumentException) {
542 throw (IllegalArgumentException)cause;
749 * on a file-based policy will cause the file to be re-read.
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrintDialogPeer.java138 boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)
136 requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) argument
/openjdk7/jdk/test/java/awt/Component/isLightweightCrash/
H A DStubPeerCrash.java107 long time, CausedFocusEvent.Cause cause){
104 requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) argument
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java1563 * Sets the key accelerator that will cause the receiving text
1590 * Returns the key accelerator that will cause the receiving
2358 Throwable cause = e.getCause();
2359 if (cause instanceof Error) {
2360 throw (Error) cause;
2362 if (cause instanceof RuntimeException) {
2363 throw (RuntimeException) cause;
2365 throw new AssertionError(cause);
2386 Throwable cause = e.getCause();
2387 if (cause instanceo
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DServiceLoader.java103 * method in this class will cause a {@link NullPointerException} to be thrown.
160 * <p> This activity is normal, although it may cause puzzling entries to be
162 * however, then this activity may cause the provider-loading algorithm to fail
168 * helpful HTML error page in such cases. This will cause a {@link
221 private static void fail(Class service, String msg, Throwable cause) argument
225 cause);
425 * cause an {@link UnsupportedOperationException} to be thrown.
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DconcurrentMarkSweepThread.cpp143 GCCause::Cause cause = _collector->_full_gc_requested ? local
145 _collector->collect_in_background(false, cause);
/openjdk7/hotspot/src/share/vm/services/
H A DgcNotifier.cpp43 void GCNotifier::pushNotification(GCMemoryManager *mgr, const char *action, const char *cause) { argument
50 GCNotificationRequest *request = new GCNotificationRequest(os::javaTimeMillis(),mgr,action,cause,stat);
H A DmemoryManager.hpp185 bool recordGCEndTime, bool countCollection, GCCause::Cause cause);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DServiceFinder.java220 private static void fail(Class service, String msg, Throwable cause) argument
224 sce.initCause(cause);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/
H A DCertRequestOverflow.java125 Throwable cause = ssle.getCause();
126 if (!(cause instanceof RuntimeException)) {
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DConfig.java1157 Exception cause = null;
1164 cause = ke;
1182 if (cause != null) {
1183 ke.initCause(cause);
1204 Exception cause = null;
1211 cause = ke;
1237 if (cause != null) {
1238 ke.initCause(cause);
/openjdk7/jdk/test/java/security/Provider/
H A DGetInstance.java128 Throwable cause = e.getCause();
129 if (cause instanceof InvalidParameterException == false) {
/openjdk7/jdk/src/share/classes/sun/misc/
H A DService.java134 private static void fail(Class service, String msg, Throwable cause) argument
139 sce.initCause(cause);
/openjdk7/langtools/test/tools/javac/api/
H A DTestClientCodeWrapper.java157 Throwable cause = e.getCause();
158 if (cause instanceof UserError) {
160 String found = cause.getMessage();
163 cause.printStackTrace(System.err);
164 error("Unexpected exception: " + cause);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DHandshaker.java269 void fatalSE(byte b, Throwable cause) throws IOException { argument
270 fatalSE(b, null, cause);
273 void fatalSE(byte b, String diagnostic, Throwable cause) argument
276 conn.fatal(b, diagnostic, cause);
278 engine.fatal(b, diagnostic, cause);
1268 * Throw an SSLException with the specified message and cause.
1272 static void throwSSLException(String msg, Throwable cause) argument
1275 e.initCause(cause);
/openjdk7/jdk/test/javax/management/descriptor/
H A DDescriptorTest.java302 Throwable cause = e.getCause();
303 if (!exceptionClass().isInstance(cause))
304 return "wrong wrapped exception: " + cause + ": " + expected();
347 would cause a compiler error since you can't have arrays of
/openjdk7/jdk/test/javax/management/openmbean/
H A DBadConstraintTest.java238 Throwable cause = e.getCause();
239 if (exc.isInstance(cause))
243 cause.printStackTrace(pw);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DNullComponentPeer.java185 boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) {
183 requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCViewPlatformEmbeddedFrame.java155 public boolean rejectFocusRequest(Cause cause) { argument
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DDependencies.java75 public ClassFileNotFoundException(String className, Throwable cause) { argument
77 initCause(cause);
89 public ClassFileError(Throwable cause) { argument
90 initCause(cause);

Completed in 118 milliseconds

1234567891011>>