Searched refs:cause (Results 176 - 200 of 298) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/com/sun/jmx/snmp/
H A DSnmpOidHashCode.java112 final Throwable cause = x.getCause();
113 if (cause instanceof Exception) throw (Exception)cause;
114 if (cause instanceof Error) throw (Error)cause;
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLContextImpl/
H A DBadKSProvider.java183 Throwable cause = se.getCause();
184 if (cause instanceof java.security.NoSuchAlgorithmException == false) {
189 cause = cause.getCause();
190 if (cause instanceof java.security.NoSuchProviderException == false) {
H A DBadTSProvider.java183 Throwable cause = se.getCause();
184 if (cause instanceof java.security.NoSuchAlgorithmException == false) {
189 cause = cause.getCause();
190 if (cause instanceof java.security.NoSuchProviderException == false) {
/openjdk7/jdk/src/share/classes/sun/swing/text/
H A DTextComponentPrintable.java324 Throwable cause = e.getCause();
325 if (cause instanceof Error) {
326 throw (Error) cause;
328 if (cause instanceof RuntimeException) {
329 throw (RuntimeException) cause;
331 throw new AssertionError(cause);
480 Throwable cause = e.getCause();
481 if (cause instanceof PrinterException) {
482 throw (PrinterException)cause;
483 } else if (cause instanceo
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DgenCollectedHeap.hpp121 // Does the "cause" of GC indicate that
186 void collect(GCCause::Cause cause);
192 void collect_as_vm_thread(GCCause::Cause cause);
195 void collect_locked(GCCause::Cause cause);
199 void collect(GCCause::Cause cause, int max_level);
535 void collect_locked(GCCause::Cause cause, int max_level);
541 bool should_do_concurrent_full_gc(GCCause::Cause cause);
542 void collect_mostly_concurrent(GCCause::Cause cause);
H A DgenCollectedHeap.cpp438 bool GenCollectedHeap::should_do_concurrent_full_gc(GCCause::Cause cause) { argument
440 ((cause == GCCause::_gc_locker && GCLockerInvokesConcurrent) ||
441 (cause == GCCause::_java_lang_system_gc && ExplicitGCInvokesConcurrent));
775 void GenCollectedHeap::collect(GCCause::Cause cause) { argument
776 if (should_do_concurrent_full_gc(cause)) {
779 collect_mostly_concurrent(cause);
785 if (cause == GCCause::_scavenge_alot) {
787 collect(cause, 0);
790 collect(cause, n_gens() - 1);
794 collect(cause, n_gen
799 collect(GCCause::Cause cause, int max_level) argument
810 collect_as_vm_thread(GCCause::Cause cause) argument
827 collect_locked(GCCause::Cause cause) argument
836 collect_locked(GCCause::Cause cause, int max_level) argument
876 collect_mostly_concurrent(GCCause::Cause cause) argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertStore.java239 Throwable cause = e.getCause();
240 if (cause instanceof InvalidAlgorithmParameterException) {
241 throw (InvalidAlgorithmParameterException)cause;
/openjdk7/jdk/test/sun/security/provider/KeyStore/
H A DWrongPassword.java64 Throwable cause = e.getCause();
65 if (cause instanceof UnrecoverableKeyException == false) {
66 throw new Exception("not an UnrecoverableKeyException: " + cause);
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DMethodHandleStatics.java96 /*non-public*/ static InternalError newInternalError(String message, Throwable cause) { argument
98 e.initCause(cause);
101 /*non-public*/ static InternalError newInternalError(Throwable cause) { argument
103 e.initCause(cause);
/openjdk7/hotspot/src/share/vm/services/
H A DmemoryService.hpp167 GCCause::Cause cause);
201 GCCause::Cause cause,
211 GCCause::Cause cause,
220 TraceMemoryManagerStats(Generation::Name kind, GCCause::Cause cause);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/logging/
H A DLogger.java283 * If {@code cause} parameter is not {@code null}, it is logged as well and
284 * {@code exception} original cause is initialized with instance referenced
285 * by {@code cause} parameter.
289 * @param cause initial cause of the exception that should be logged as well
290 * and set as {@code exception}'s original cause. May be {@code null}.
294 public <T extends Throwable> T logSevereException(final T exception, final Throwable cause) { argument
296 if (cause == null) {
299 exception.initCause(cause);
300 logger.logp(Level.SEVERE, componentClassName, getCallerMethodName(), exception.getMessage(), cause);
368 logException(final T exception, final Throwable cause, final Level level) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/
H A DPrintingStatus.java182 Throwable cause = e.getCause();
183 if (cause instanceof RuntimeException) {
184 throw (RuntimeException) cause;
185 } else if (cause instanceof Error) {
186 throw (Error) cause;
188 throw new RuntimeException(cause);
/openjdk7/jdk/src/share/native/java/lang/
H A DClassLoader.c321 jthrowable cause; local
350 cause = (*env)->ExceptionOccurred(env);
351 if (cause) {
353 (*env)->Throw(env, cause);
369 cause = (*env)->ExceptionOccurred(env);
370 if (cause) {
373 (*env)->Throw(env, cause);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/
H A DServiceFinder.java223 private static void fail(final Class service, final String msg, final Throwable cause) argument
227 if (null != cause) {
228 sce.initCause(cause);
239 private static void fail(final Class service, final URL u, final int line, final String msg, final Throwable cause) argument
241 fail(service, LocalizationMessages.WSP_0024_SPI_FAIL_SERVICE_URL_LINE_MSG(u , line, msg), cause);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLEngineImpl.java1590 synchronized void fatal(byte description, Throwable cause) argument
1592 fatal(description, null, cause);
1609 Throwable cause) throws SSLException {
1618 if (cause == null) {
1619 cause = Alerts.getSSLException(description, cause, diagnostic);
1634 cause.toString());
1636 if (cause instanceof RuntimeException) {
1637 throw (RuntimeException)cause;
1638 } else if (cause instanceo
1608 fatal(byte description, String diagnostic, Throwable cause) argument
[all...]
/openjdk7/jaxp/src/javax/xml/transform/
H A DTransformerException.java74 * Returns the cause of this throwable or <code>null</code> if the
75 * cause is nonexistent or unknown. (The cause is the throwable that
86 * Initializes the <i>cause</i> of this throwable to the specified value.
87 * (The cause is the throwable that caused this throwable to get thrown.)
96 * @param cause the cause (which is saved for later retrieval by the
98 * permitted, and indicates that the cause is nonexistent or
101 * @throws IllegalArgumentException if <code>cause</code> is this
103 * be its own cause
109 initCause(Throwable cause) argument
[all...]
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/
H A DMissingClassTest.java176 Throwable cause = e.getCause();
177 if (cause instanceof MARSHAL) // see CR 4935098
178 cause = cause.getCause();
179 if (cause instanceof ClassNotFoundException) {
184 ") but cause should be " +
185 "ClassNotFoundException: " + cause);
208 System.out.println("TEST FAILS: Got IOException but cause " +
218 "should be IOException with cause " +
253 Throwable cause
[all...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/
H A DMonitoredHost.java58 * will cause the remaining override mechanisms to be ignored. When
238 Throwable cause = e.getCause();
239 if (cause instanceof MonitorException) {
240 throw (MonitorException)cause;
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsGCAdaptivePolicyCounters.hpp188 inline void update_scavenge_skipped(int cause) { argument
189 _scavenge_skipped->set_value(cause);
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/
H A DNSClass.java33 public NSClassNotFoundException(String m, Throwable cause){ super(m, cause); } argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DIllegalAnnotationException.java75 public IllegalAnnotationException(String message, Throwable cause, Locatable src) { argument
76 super(message, cause);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/exception/
H A DJAXWSExceptionBase.java80 protected JAXWSExceptionBase(Localizable msg, Throwable cause) { argument
81 super(cause);
/openjdk7/jdk/test/java/nio/file/etc/
H A DExceptions.java88 // when deserializing then the cause should be an IOException
103 // Use reflection to set a Throwable's cause.
104 static void hackCause(Throwable t, Throwable cause) argument
107 Field f = Throwable.class.getDeclaredField("cause");
109 f.set(t, cause);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DBaseFileObject.java102 public CannotCreateUriError(String value, Throwable cause) { argument
103 super(value, cause);
/openjdk7/jdk/src/share/classes/java/awt/
H A DKeyboardFocusManager.java127 CausedFocusEvent.Cause cause)
130 heavyweight, descendant, temporary, focusedWindowChangeAllowed, time, cause);
2114 final CausedFocusEvent.Cause cause; field in class:KeyboardFocusManager.LightweightFocusRequest
2116 LightweightFocusRequest(Component component, boolean temporary, CausedFocusEvent.Cause cause) { argument
2119 this.cause = cause;
2123 ",temporary=" + temporary + ", cause=" + cause + "]";
2140 boolean temporary, CausedFocusEvent.Cause cause) {
2149 addLightweightRequest(descendant, temporary, cause);
2139 HeavyweightFocusRequest(Component heavyweight, Component descendant, boolean temporary, CausedFocusEvent.Cause cause) argument
2151 addLightweightRequest(Component descendant, boolean temporary, CausedFocusEvent.Cause cause) argument
2327 shouldNativelyFocusHeavyweight(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) argument
[all...]

Completed in 144 milliseconds

1234567891011>>