Searched defs:code (Results 1 - 18 of 18) sorted by relevance

/libcore/luni/src/main/java/org/w3c/dom/ls/
H A DLSException.java16 * Parser or write operations may throw an <code>LSException</code> if the
18 * <code>DOMError</code> with a severity of
19 * <code>DOMError.SEVERITY_FATAL_ERROR</code> or a non recovered
20 * <code>DOMError.SEVERITY_ERROR</code>, or if
21 * <code>DOMErrorHandler.handleError()</code> returne
30 LSException(short code, String message) argument
34 public short code; field in class:LSException
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DHttpRetryException.java5 * This code is free software; you can redistribute it and/or modify it
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * accompanied this code).
46 * Constructs a new <code>HttpRetryException</code> from the
47 * specified response code and exception detail message
50 * @param code the HTTP response code from server.
52 public HttpRetryException(String detail, int code) { argument
65 HttpRetryException(String detail, int code, String location) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpProtocolException.java5 * This code is free software; you can redistribute it and/or modify it
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * accompanied this code).
31 * <p>The specific error code can be retreived with {@link #getReplyCode() }.</p>
36 private final FtpReplyCode code; field in class:FtpProtocolException
39 * Constructs a new {@code FtpProtocolException} from the
40 * specified detail message. The reply code is set to unknow error.
46 code = FtpReplyCode.UNKNOWN_ERROR;
50 * Constructs a new {@code FtpProtocolExceptio
56 FtpProtocolException(String detail, FtpReplyCode code) argument
[all...]
/libcore/ojluni/src/main/native/
H A DShutdown.c5 * This code is free software; you can redistribute it and/or modify it
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * accompanied this code).
37 Shutdown_halt0(JNIEnv *env, jclass ignored, jint code) argument
39 JVM_Halt(code);
H A Djvm.h5 * This code is free software; you can redistribute it and/or modify it
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * accompanied this code).
49 * needed by the byte code verifier and class file format checker.
125 JVM_Exit(jint code);
128 JVM_Halt(jint code);
361 * Returns the class in which the code invoking the native method
656 * The version passed in is the version that the library code was
732 * Returns the byte code sequenc
984 unsigned long code; /* byte code */ member in struct:__anon27
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DEventLogger.java47 public void report (int code, Object... list); argument
55 public void report (int code, Object... list) { argument
57 sb.append(code);
66 public static void writeEvent(int code, Object... list) { argument
67 getReporter().report(code, list);
/libcore/ojluni/src/main/java/java/util/logging/
H A DErrorManager.java5 * This code is free software; you can redistribute it and/or modify it
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * accompanied this code).
81 * @param code an error code defined in ErrorManager
83 public synchronized void error(String msg, Exception ex, int code) { argument
90 String text = "java.util.logging.ErrorManager: " + code;
H A DFileHandler.java6 * This code is free software; you can redistribute it and/or modify it
10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
16 * accompanied this code).
582 // we are only initialized from trusted code. So we assume
584 // currently being called from untrusted code.
624 public void error(String msg, Exception ex, int code) { argument
H A DHandler.java5 * This code is free software; you can redistribute it and/or modify it
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * accompanied this code).
228 * @param code an error code defined in ErrorManager
230 protected void reportError(String msg, Exception ex, int code) { argument
232 errorManager.error(msg, ex, code);
/libcore/support/src/test/java/libcore/tlswire/handshake/
H A DCipherSuite.java23 * {@code CipherSuite} enum from TLS 1.2 RFC 5246.
383 if (byCode.put(cipherSuite.code, cipherSuite) != null) {
385 "Cipher suite multiply defined: " + Integer.toHexString(cipherSuite.code));
405 public final int code; field in class:CipherSuite
409 private CipherSuite(int code, String name) { argument
410 this.code = code;
415 private CipherSuite(int code, String name, String androidName) { argument
416 this.code = code;
429 valueOf(int code) argument
[all...]
/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMException.java21 * <code>NodeList</code>.
24 * exception if a <code>null</code> argument is passed when <code>null</code>
34 public DOMException(short code, String message) { argument
36 this.code = code;
38 public short code; field in class:DOMException
[all...]
/libcore/support/src/test/java/tests/http/
H A DMockResponse.java61 public MockResponse setResponseCode(int code) { argument
62 this.status = "HTTP/1.1 " + code + " OK";
/libcore/luni/src/test/java/libcore/java/nio/charset/
H A DCharset_TestGenerator.java105 abstract void consume (int code); argument
107 boolean isAccepted (int code) argument
109 return Character.isLetterOrDigit(code);
115 void consume (int code) { argument
116 System.out.print(code);
127 boolean isAccepted (int code) argument
129 return Character.isLetterOrDigit(code) || Character.isWhitespace(code);
135 void consume (int code) { argument
136 // System.out.print(code);
152 consume(int code) argument
166 isAccepted(int code) argument
191 consume(int code) argument
206 consume(int code) argument
[all...]
H A DOldCharset_AbstractTest.java82 int code = 0;
83 while (code < 256) {
84 while (!encoder.canEncode((char) code)) code ++;
85 if (code < 65536) {
86 out.consume(code);
87 code += 1;
90 while (code < 65536) {
91 while (!encoder.canEncode((char) code)) code
268 consume(int code) argument
270 isAccepted(int code) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DRuntime.java6 * This code is free software; you can redistribute it and/or modify it
10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
16 * accompanied this code).
46 * <code>Runtime</code> that allows the application to interface with
48 * runtime can be obtained from the <code>getRuntime</code> method.
81 private static native void nativeExit(int code); argument
85 * Most of the methods of class <code>Runtim
[all...]
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DAlerts.java5 * This code is free software; you can redistribute it and/or modify it
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * accompanied this code).
86 static String alertDescription(byte code) { argument
87 switch (code) {
149 return "<UNKNOWN ALERT: " + (code & 0x0ff) + ">";
/libcore/support/src/test/java/tests/support/
H A DSupport_TestWebServer.java179 * a redirect code with the Location response header set to the value
182 * @param code The code to send when redirecting
184 public void setRedirect(String redirect, int code) { argument
186 redirectCode = code;
187 log("Server will redirect output to "+redirect+" code "+code);
/libcore/ojluni/src/main/java/java/util/
H A DLocale.java6 * This code is free software; you can redistribute it and/or modify it
10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
16 * accompanied this code).
31 * The original version of this source code and documentation
67 * A <code>Locale</code> object represents a specific geographical, political,
68 * or cultural region. An operation that requires a <code>Locale</code> to perform
69 * its task is called <em>locale-sensitive</em> and uses the <code>Local
1787 isUnM49AreaCode(String code) argument
[all...]

Completed in 552 milliseconds