Searched refs:NotActiveException (Results 1 - 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
H A DNotActiveException.java34 public class NotActiveException extends ObjectStreamException { class in inherits:ObjectStreamException
39 * Constructor to create a new NotActiveException with the reason given.
43 public NotActiveException(String reason) { method in class:NotActiveException
48 * Constructor to create a new NotActiveException without a reason.
50 public NotActiveException() { method in class:NotActiveException
H A DSerialCallbackContext.java37 * If not set to the current thread, the getObj method throws NotActiveException.
54 public Object getObj() throws NotActiveException {
63 private void checkAndSetUsed() throws NotActiveException {
65 throw new NotActiveException(
H A DObjectOutputStream.java441 * class being serialized. It will throw the NotActiveException if it is
449 throw new NotActiveException("not in call to writeObject");
471 throw new NotActiveException("not in call to writeObject");
485 * @throws NotActiveException Called when a classes writeObject method was
491 throw new NotActiveException("no current PutField object");
H A DObjectInputStream.java484 * class being deserialized. It will throw the NotActiveException if it is
490 * @throws NotActiveException if the stream is not currently reading
497 throw new NotActiveException("not in call to readObject");
527 * @throws NotActiveException if the stream is not currently reading
535 throw new NotActiveException("not in call to readObject");
567 * @throws NotActiveException The stream is not currently reading objects
572 throws NotActiveException, InvalidObjectException
575 throw new NotActiveException("stream inactive");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DNotActiveExceptionTest.java20 import java.io.NotActiveException;
27 * java.io.NotActiveException#NotActiveException()
30 NotActiveException e = new NotActiveException();
35 * java.io.NotActiveException#NotActiveException(java.lang.String)
39 NotActiveException e = new NotActiveException(message);
H A DObjectStreamFieldTest.java24 import java.io.NotActiveException;
279 private void readObject(ObjectInputStream in) throws NotActiveException,
343 private void readObject(ObjectInputStream in) throws NotActiveException,
H A DObjectOutputStreamTest.java27 import java.io.NotActiveException;
602 fail("Failed to throw NotActiveException");
603 } catch (NotActiveException e) {
H A DSerializationStressTest.java28 import java.io.NotActiveException;
301 } catch (NotActiveException e) {
307 "Failed to throw NotActiveException when invoked outside readObject");
H A DSerializationStressTest2.java25 import java.io.NotActiveException;
952 } catch (NotActiveException ce) {
H A DSerializationStressTest1.java1579 java.io.IOException ex = new java.io.NotActiveException(FOO);
/libcore/ojluni/src/main/java/javax/security/auth/x500/
H A DX500Principal.java493 java.io.NotActiveException,
/libcore/luni/src/test/java/libcore/java/io/
H A DOldObjectOutputStreamTest.java25 import java.io.NotActiveException;
247 fail("Test 1: NotActiveException expected.");
248 } catch (NotActiveException e) {
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java35 import java.io.NotActiveException;
697 fail("NotActiveException expected");
698 } catch (NotActiveException e) {
1304 fail("NotActiveException should be thrown");
1305 } catch (NotActiveException nae) {
1316 // should not throw NotActiveException
/libcore/
H A Dopenjdk_java_files.mk54 ojluni/src/main/java/java/io/NotActiveException.java \

Completed in 607 milliseconds