Searched refs:cause (Results 151 - 175 of 298) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/
H A DExceptionBean.java80 @XmlElement(namespace=NS,name="cause")
81 public ExceptionBean cause; field in class:ExceptionBean
101 Throwable cause = t.getCause();
102 if(t!=cause && cause!=null)
103 this.cause = new ExceptionBean(cause);
114 if(cause!=null)
115 e.initCause(cause.toException());
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWKeyboardFocusManagerPeer.java74 CausedFocusEvent.Cause cause)
82 cause,
69 deliverFocus(Component lightweightChild, Component target, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) argument
/openjdk7/jdk/test/java/lang/Throwable/
H A DChainedExceptions.java40 throw new RuntimeException("Low cause != null");
84 HighLevelException(Throwable cause) { super(cause); } argument
88 MidLevelException(Throwable cause) { super(cause); } argument
H A DStackTraceSerialization.java178 HighLevelException(Throwable cause) { super(cause); } argument
182 MidLevelException(Throwable cause) { super(cause); } argument
/openjdk7/jdk/test/javax/management/modelmbean/
H A DExoticTargetTypeTest.java96 Throwable cause = e.getCause();
97 if (cause instanceof InvalidTargetObjectTypeException) {
100 cause.getMessage());
103 "wrong cause: " + cause);
H A DDescriptorSupportXMLTest.java86 final Throwable cause = e.getCause();
87 if (cause instanceof IllegalArgumentException) {
91 cause.getMessage());
94 (cause == null) ? "null" : cause.getClass().getName();
/openjdk7/jdk/src/share/classes/sun/management/
H A DAgentConfigurationError.java122 public AgentConfigurationError(String error, Throwable cause) { argument
123 super(cause);
137 public AgentConfigurationError(String error, Throwable cause, String... params) { argument
138 super(cause);
/openjdk7/jdk/test/java/lang/management/ManagementFactory/
H A DMXBeanException.java95 Throwable cause = e.getCause();
96 if (!(cause instanceof UnsupportedOperationException)) {
97 throw new RuntimeException("TEST FAILED: " + cause +
/openjdk7/jdk/src/share/classes/com/oracle/net/
H A DSdp.java153 Throwable cause = x.getCause();
154 if (cause instanceof IOException)
155 throw (IOException)cause;
156 if (cause instanceof RuntimeException)
157 throw (RuntimeException)cause;
/openjdk7/jdk/src/share/classes/sun/awt/
H A DKeyboardFocusManagerPeerImpl.java112 CausedFocusEvent.Cause cause,
125 false, lightweightChild, cause);
133 false, currentOwner, cause);
142 public static boolean requestFocusFor(Component target, CausedFocusEvent.Cause cause) { argument
143 return AWTAccessor.getComponentAccessor().requestFocus(target, cause);
152 CausedFocusEvent.Cause cause)
155 heavyweight, descendant, temporary, focusedWindowChangeAllowed, time, cause);
107 deliverFocus(Component lightweightChild, Component target, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause, Component currentFocusOwner) argument
147 shouldNativelyFocusHeavyweight(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) argument
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DBasic.java179 // attempt to create another channel by connecting. This should cause
189 Throwable cause = x.getCause();
190 if (!(cause instanceof IOException))
192 cause = cause.getCause();
193 if (!(cause instanceof ShutdownChannelGroupException))
194 throw new RuntimeException("IOException cause should be ShutdownChannelGroupException");
204 // connect to the listener which should cause the accept to complete
210 Throwable cause = x.getCause();
211 if (!(cause instanceo
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/
H A DEndpointMethodHandler.java249 Throwable cause = e.getCause();
251 if (!(cause instanceof RuntimeException) && cause instanceof Exception) {
253 LOGGER.log(Level.FINE, cause.getMessage(), cause);
255 javaMethodModel.getCheckedException(cause.getClass()), cause);
257 if (cause instanceof ProtocolException) {
259 LOGGER.log(Level.FINE, cause.getMessage(), cause);
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javah/
H A DUtil.java61 Exit(int exitValue, Throwable cause) { argument
62 super(cause);
64 this.cause = cause;
68 this(e.exitValue, e.cause);
72 public final Throwable cause; field in class:Util.Exit
/openjdk7/jdk/src/share/classes/javax/naming/
H A DNamingException.java51 * <i>root exception</i> (or <i>root cause</i>) is the same object as the
52 * <i>cause</i> returned by the {@link Throwable#getCause()} method.
306 * Retrieves the root cause of this NamingException, if any.
307 * The root cause of a naming exception is used when the service provider
317 * exception. If null, it means no root cause has been
328 * Records the root cause of this NamingException.
337 * exception has no root cause.
349 * Returns the cause of this exception. The cause is the
351 * Returns <code>null</code> if the cause i
381 initCause(Throwable cause) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/
H A DAbstractPerfDataBuffer.java203 Throwable cause = e.getCause();
204 if (cause instanceof MonitorException) {
205 throw (MonitorException)cause;
/openjdk7/jdk/src/share/classes/sun/tools/jps/
H A DJps.java161 Throwable cause = e.getCause();
162 if ((cause != null) && (cause.getMessage() != null)) {
163 System.err.println(cause.getMessage());
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/
H A DMonitoredVm.java129 * @param cause the exception to record.
132 void setLastException(Exception cause); argument
/openjdk7/hotspot/src/share/vm/utilities/
H A Dexceptions.hpp144 Handle cause,
148 Handle cause,
153 const char* message, Handle cause,
229 #define THROW_CAUSE(name, cause) \
230 { Exceptions::_throw_cause(THREAD_AND_LOCATION, name, cause); return; }
256 #define THROW_MSG_CAUSE(name, message, cause) \
257 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; }
259 #define THROW_MSG_CAUSE_(name, message, cause, result) \
260 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return result; }
269 #define THROW_MSG_CAUSE_0(name, message, cause) THROW_MSG_CAUSE
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dvm_operations_g1.hpp58 GCCause::Cause cause)
59 : VM_GC_Operation(gc_count_before, cause, full_gc_count_before) { }
56 VM_G1CollectFull(unsigned int gc_count_before, unsigned int full_gc_count_before, GCCause::Cause cause) argument
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dcanvas.h57 extern void callFocusCallback(jobject focusPeer, int focus_type, jobject cause);
58 extern void callFocusHandler(Widget w, int eventType, jobject cause);
/openjdk7/jdk/test/javax/management/MBeanServer/
H A DMBeanExceptionTest.java99 Throwable cause = e.getCause();
100 if (!excC.isInstance(cause)) {
103 " as cause of " + excC.getName() +
163 Throwable cause = e.getCause();
164 if (cause == theUncheckedException)
168 " wrapped " + cause);
178 Throwable cause = e.getCause();
179 if (cause == theCheckedException)
183 " wrapped " + cause);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXKeyboardFocusManagerPeer.java104 CausedFocusEvent.Cause cause)
111 cause,
99 deliverFocus(Component lightweightChild, Component target, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) argument
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DgcTrace.hpp79 void set_cause(GCCause::Cause cause) { _cause = cause; } argument
80 GCCause::Cause cause() const { return _cause; } function in class:VALUE_OBJ_CLASS_SPEC
118 void report_gc_start(GCCause::Cause cause, jlong timestamp);
128 virtual void report_gc_start_impl(GCCause::Cause cause, jlong timestamp);
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DIntrospector.java428 * @param cause the raeson why NotCompliantMBeanException should
432 * <pre> throw throwException(clazz,cause); </pre>
433 * @throws SecurityException - if cause is a SecurityException
437 Throwable cause)
439 if (cause instanceof SecurityException)
440 throw (SecurityException) cause;
441 if (cause instanceof NotCompliantMBeanException)
442 throw (NotCompliantMBeanException)cause;
446 (cause==null)?"Not compliant":cause
436 throwException(Class<?> notCompliant, Throwable cause) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/corba/
H A DCorbaUtils.java227 Throwable cause = e.getCause();
228 if (cause instanceof RuntimeException) {
229 throw (RuntimeException) cause;
230 } else if (cause instanceof Error) {
231 throw (Error) cause;

Completed in 134 milliseconds

1234567891011>>