Searched refs:cause (Results 126 - 150 of 298) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/awt/
H A DRequestFocusController.java33 CausedFocusEvent.Cause cause);
31 acceptRequestFocus(Component from, Component to, boolean temporary, boolean focusedWindowChangeAllowed, CausedFocusEvent.Cause cause) argument
/openjdk7/jdk/test/sun/security/pkcs11/Provider/
H A DAbsolute.java49 Throwable cause = ite.getCause();
50 if (cause instanceof ProviderException) {
51 Throwable cause2 = cause.getCause();
56 throw (ProviderException) cause;
H A DConfigShortPath.java55 Throwable cause = ite.getCause();
56 if (cause instanceof ProviderException) {
57 String causeMsg = cause.getCause().getMessage();
60 throw (ProviderException) cause;
/openjdk7/jdk/src/share/classes/java/rmi/
H A DRemoteException.java38 * the public {@link #detail} field is now known as the <i>cause</i>, and
55 * The cause of the remote exception.
85 * message and cause. This constructor sets the {@link #detail}
89 * @param cause the cause
91 public RemoteException(String s, Throwable cause) { argument
94 detail = cause;
98 * Returns the detail message, including the message from the cause, if
113 * Returns the cause of this exception. This method returns the value
116 * @return the cause, whic
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/activation/
H A DActivationException.java34 * {@link #detail} field is now known as the <i>cause</i>, and may be
48 * The cause of the activation exception.
81 * detail message and cause. This constructor sets the {@link #detail}
85 * @param cause the cause
87 public ActivationException(String s, Throwable cause) { argument
90 detail = cause;
94 * Returns the detail message, including the message from the cause, if
109 * Returns the cause of this exception. This method returns the value
112 * @return the cause, whic
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DServerCloneException.java35 * {@link #detail} field is now known as the <i>cause</i>, and may be
50 * The cause of the exception.
76 * detail message and cause.
79 * @param cause the cause
81 public ServerCloneException(String s, Exception cause) { argument
84 detail = cause;
88 * Returns the detail message, including the message from the cause, if
103 * Returns the cause of this exception. This method returns the value
106 * @return the cause, whic
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/metadata/
H A DIIOInvalidTreeException.java77 * @param cause the <code>Throwable</code> (<code>Error</code> or
83 public IIOInvalidTreeException(String message, Throwable cause, argument
85 super(message, cause);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/
H A DBadCommandLineException.java40 public BadCommandLineException(String message, Throwable cause) { argument
41 super(message, cause);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/
H A DBadCommandLineException.java40 public BadCommandLineException(String message, Throwable cause) { argument
41 super(message, cause);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/
H A DClientTransportException.java40 public ClientTransportException(Localizable msg, Throwable cause) { argument
41 super(msg, cause);
/openjdk7/jdk/src/share/classes/sun/security/validator/
H A DValidatorException.java71 public ValidatorException(String msg, Throwable cause) { argument
73 initCause(cause);
87 Throwable cause) {
89 initCause(cause);
99 Throwable cause) {
101 initCause(cause);
86 ValidatorException(Object type, X509Certificate cert, Throwable cause) argument
98 ValidatorException(String msg, Object type, X509Certificate cert, Throwable cause) argument
/openjdk7/jdk/src/share/classes/java/sql/
H A DSQLException.java61 * The <code>cause</code> is not initialized, and may subsequently be
87 * The <code>cause</code> is not initialized, and may subsequently be
112 * The <code>cause</code> is not initialized, and may subsequently be
134 * The <code>cause</code> is not initialized, and may subsequently be
152 * <code>cause</code>.
156 * <code>cause==null</code> or to <code>cause.toString()</code> if
157 * <code>cause!=null</code>.
159 * @param cause the underlying reason for this <code>SQLException</code>
161 * may be null indicating the cause i
164 SQLException(Throwable cause) argument
186 SQLException(String reason, Throwable cause) argument
209 SQLException(String reason, String sqlState, Throwable cause) argument
235 SQLException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DDataTruncation.java49 * The <code>cause</code> is not initialized, and may subsequently be
87 * @param cause the underlying reason for this <code>DataTruncation</code>
89 * may be null indicating the cause is non-existent or unknown.
95 int transferSize, Throwable cause) {
96 super("Data truncation", read == true?"01004":"22001",cause);
93 DataTruncation(int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause) argument
/openjdk7/jdk/test/java/rmi/RemoteException/chaining/
H A DChaining.java35 static void check(Throwable t, String msg, Throwable cause) argument
42 if (t.getClass().getField("detail").get(t) != cause) {
45 if (t.getCause() != cause) {
49 t.initCause(cause);
55 static void test(Throwable t, String msg, Throwable cause) argument
58 check(t, msg, cause);
59 Throwable[] pair = new Throwable[]{t, cause};
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DListingErrorHandler.java291 Throwable cause = exception;
293 // Try to find the locator closest to the cause.
297 if(cause instanceof SAXParseException)
304 locator = new SAXSourceLocator((SAXParseException)cause);
306 else if (cause instanceof TransformerException)
308 SourceLocator causeLocator = ((TransformerException)cause).getLocator();
316 if(cause instanceof TransformerException)
317 cause = ((TransformerException)cause).getCause();
318 else if(cause instanceo
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DThrowable.java54 * contain a <i>cause</i>: another throwable that caused this
57 * cause can, itself, have a cause, and so on, leading to a "chain" of
60 * <p>One reason that a throwable may have a cause is that the class that
68 * cause) allows the upper layer to communicate the details of the failure to
74 * <p>A second reason that a throwable may have a cause is that the method
76 * permit the method to throw the cause directly. For example, suppose
87 * <p>A cause can be associated with a throwable in two ways: via a
88 * constructor that takes the cause as an argument, or via the
91 * that take a cause an
197 private Throwable cause = this; field in class:Throwable
286 Throwable(String message, Throwable cause) argument
309 Throwable(Throwable cause) argument
356 Throwable(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) argument
454 initCause(Throwable cause) argument
[all...]
H A DAssertionError.java68 * becomes the <i>cause</i> of the newly constructed assertion error.
153 * detail message and cause.
156 * {@code cause} is <i>not</i> automatically incorporated in
160 * @param cause the cause, may be {@code null}
164 public AssertionError(String message, Throwable cause) { argument
165 super(message, cause);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DSOAPIOException.java55 public SOAPIOException(String reason, Throwable cause) { argument
57 soapException = new SOAPExceptionImpl(reason, cause);
61 public SOAPIOException(Throwable cause) { argument
62 super(cause.toString());
63 soapException = new SOAPExceptionImpl(cause);
/openjdk7/hotspot/src/share/vm/services/
H A DgcNotifier.hpp42 GCNotificationRequest(jlong ts, GCMemoryManager *manager, const char*action, const char *cause,GCStatInfo *info) { argument
47 gcCause = cause;
65 static void pushNotification(GCMemoryManager *manager, const char *action, const char *cause);
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DMissingResourceCauseTest.java53 Throwable cause = e.getCause();
54 if (!expectedCause.isInstance(cause)) {
56 + cause + ", expected " + expectedCause);
/openjdk7/langtools/test/tools/javac/
H A DT6265400.java53 Throwable cause = e.getCause();
54 if (cause instanceof NullPointerException
55 && cause.getMessage().equals(SILLY_BILLY))
/openjdk7/jdk/src/share/classes/java/util/
H A DMissingResourceException.java69 * and <code>cause</code>. This constructor is package private for
78 * @param cause
79 * the cause (which is saved for later retrieval by the
81 * permitted, and indicates that the cause is nonexistent
84 MissingResourceException(String message, String className, String key, Throwable cause) { argument
85 super(message, cause);
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DConfigSpiFile.java80 // (no cause), re-throw it.
84 Throwable cause = se.getCause();
85 if (cause != null && cause instanceof java.io.IOException) {
86 throw (java.io.IOException)cause;
89 // unrecognized cause
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DAlerts.java161 static SSLException getSSLException(byte description, Throwable cause, argument
168 if (cause != null) {
169 reason = cause.toString();
212 if (cause != null) {
213 e.initCause(cause);
/openjdk7/jdk/test/com/sun/jmx/snmp/
H A DTimeTicksWrapping.java119 final Throwable cause = x.getCause();
120 if (cause instanceof Exception) throw (Exception) cause;
121 if (cause instanceof Error) throw (Error) cause;
131 final Throwable cause = x.getCause();
132 if (cause instanceof Exception) throw (Exception) cause;
133 if (cause instanceof Error) throw (Error) cause;
[all...]

Completed in 129 milliseconds

1234567891011>>