1. Explore
  2. »
  3. Android
  4. »
  5. libcore.io
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Posix.open() has thrown an ErrnoException

android.system.ErrnoException
libcore.io.Posix.open
342Web pages
ErrnoExceptionPosix.open342

BlockGuardOs.open() has thrown an ErrnoException

android.system.ErrnoException
1 frames hidden
libcore.io.BlockGuardOs.open
341Web pages
ErrnoExceptionBlockGuardOs.open341

IoBridge.open() has thrown an ErrnoException

android.system.ErrnoException
2 frames hidden
libcore.io.IoBridge.open
310Web pages
ErrnoExceptionIoBridge.open310

BlockGuardOs.open() has thrown an ErrnoException

libcore.io.ErrnoException
1 frames hidden
libcore.io.BlockGuardOs.open
304Web pages
ErrnoExceptionBlockGuardOs.open304

IoBridge.open() has thrown a FileNotFoundException

android.system.ErrnoException
3 frames hidden
libcore.io.IoBridge.open
300Web pages
FileNotFoundExceptionIoBridge.open300

IoBridge.open() has thrown an ErrnoException

libcore.io.ErrnoException
2 frames hidden
libcore.io.IoBridge.open
274Web pages
ErrnoExceptionIoBridge.open274

IoBridge.open() has thrown a FileNotFoundException

libcore.io.ErrnoException
3 frames hidden
libcore.io.IoBridge.open
258Web pages
FileNotFoundExceptionIoBridge.open258

IoBridge.open() has thrown a FileNotFoundException

java.io.FileNotFoundException
libcore.io.IoBridge.open
210Web pages
1Solution
FileNotFoundExceptionIoBridge.open210

IoBridge.connect() has thrown a NetworkOnMainThreadException

android.os.NetworkOnMainThreadException
3 frames hidden
libcore.io.IoBridge.connect
208Web pages
NetworkOnMainThreadExceptionIoBridge.connect208

IoBridge.connectErrno() has thrown a SocketTimeoutException

java.net.SocketTimeoutException
libcore.io.IoBridge.connectErrno
102Web pages
SocketTimeoutExceptionIoBridge.connectErrno102

You must catch the SocketTimeoutException

java.net.SocketTimeoutException
1 frames hidden
libcore.io.IoBridge.connect
99Web pages
SocketTimeoutExceptionIoBridge.connect99

BlockGuardOs.connect() has thrown an ErrnoException

libcore.io.ErrnoException
1 frames hidden
libcore.io.BlockGuardOs.connect
99Web pages
ErrnoExceptionBlockGuardOs.connect99

IoBridge.connect() has thrown an ErrnoException

libcore.io.ErrnoException
3 frames hidden
libcore.io.IoBridge.connect
98Web pages
ErrnoExceptionIoBridge.connect98

Posix.recvfrom() has thrown a SocketException

java.net.SocketException
1 frames hidden
libcore.io.Posix.recvfrom
96Web pages
SocketExceptionPosix.recvfrom96

IoBridge.recvfrom() has thrown a SocketException

java.net.SocketException
3 frames hidden
libcore.io.IoBridge.recvfrom
94Web pages
SocketExceptionIoBridge.recvfrom94

IoBridge.connect() has thrown a ConnectException

libcore.io.ErrnoException
4 frames hidden
libcore.io.IoBridge.connect
94Web pages
ConnectExceptionIoBridge.connect94

IoBridge.recvfrom() has thrown a NetworkOnMainThreadException

android.os.NetworkOnMainThreadException
2 frames hidden
libcore.io.IoBridge.recvfrom
70Web pages
NetworkOnMainThreadExceptionIoBridge.recvfrom70

You must to handle the SocketTimeoutException

android.system.GaiException
1 frames hidden
libcore.io.ForwardingOs.android_getaddrinfo
69Web pages
GaiExceptionForwardingOs.android_getaddrinfo69

IoBridge.connect() has thrown an ErrnoException

android.system.ErrnoException
3 frames hidden
libcore.io.IoBridge.connect
65Web pages
ErrnoExceptionIoBridge.connect65

BlockGuardOs.recvfrom() has thrown an ErrnoException

libcore.io.ErrnoException
2 frames hidden
libcore.io.BlockGuardOs.recvfrom
64Web pages
ErrnoExceptionBlockGuardOs.recvfrom64

IoBridge.connect() has thrown a ConnectException

android.system.ErrnoException
4 frames hidden
libcore.io.IoBridge.connect
63Web pages
ConnectExceptionIoBridge.connect63

IoBridge.recvfrom() has thrown an ErrnoException

libcore.io.ErrnoException
3 frames hidden
libcore.io.IoBridge.recvfrom
62Web pages
ErrnoExceptionIoBridge.recvfrom62

IoBridge.recvfrom() has thrown a SocketException

libcore.io.ErrnoException
5 frames hidden
libcore.io.IoBridge.recvfrom
57Web pages
SocketExceptionIoBridge.recvfrom57

Streams.readAsciiLine() has thrown an EOFException

java.io.EOFException
libcore.io.Streams.readAsciiLine
57Web pages
EOFExceptionStreams.readAsciiLine57

ForwardingOs.getaddrinfo() has thrown a GaiException

libcore.io.GaiException
1 frames hidden
libcore.io.ForwardingOs.getaddrinfo
53Web pages
GaiExceptionForwardingOs.getaddrinfo53

BlockGuardOs.sendto() has thrown an ErrnoException

libcore.io.ErrnoException
2 frames hidden
libcore.io.BlockGuardOs.sendto
48Web pages
ErrnoExceptionBlockGuardOs.sendto48

You must handle SocketTimeOutExceptions during network calls

android.system.ErrnoException
libcore.io.IoBridge.isConnected
48Web pages
ErrnoExceptionIoBridge.isConnected48

IoBridge.sendto() has thrown an ErrnoException

libcore.io.ErrnoException
3 frames hidden
libcore.io.IoBridge.sendto
46Web pages
ErrnoExceptionIoBridge.sendto46

Posix.getaddrinfo() has thrown a GaiException

libcore.io.ErrnoException
libcore.io.Posix.getaddrinfo
46Web pages
GaiExceptionPosix.getaddrinfo46

IoBridge.maybeThrowAfterSendto() has thrown a SocketException

java.net.SocketException
libcore.io.IoBridge.maybeThrowAfterSendto
45Web pages
SocketExceptionIoBridge.maybeThrowAfterSendto45

IoBridge.recvfrom() has thrown an ErrnoException

android.system.ErrnoException
3 frames hidden
libcore.io.IoBridge.recvfrom
44Web pages
ErrnoExceptionIoBridge.recvfrom44

IoBridge.isConnected() has thrown a ConnectException

libcore.io.ErrnoException
1 frames hidden
libcore.io.IoBridge.isConnected
43Web pages
ConnectExceptionIoBridge.isConnected43

IoBridge.sendto() has thrown a SocketException

libcore.io.ErrnoException
5 frames hidden
libcore.io.IoBridge.sendto
43Web pages
SocketExceptionIoBridge.sendto43

BlockGuardOs.read() has thrown an ErrnoException

android.system.ErrnoException
2 frames hidden
libcore.io.BlockGuardOs.read
43Web pages
ErrnoExceptionBlockGuardOs.read43

IoBridge.isConnected() has thrown a ConnectException

android.system.ErrnoException
1 frames hidden
libcore.io.IoBridge.isConnected
41Web pages
ConnectExceptionIoBridge.isConnected41

BlockGuardOs.close() has thrown an ErrnoException

libcore.io.ErrnoException
1 frames hidden
libcore.io.BlockGuardOs.close
40Web pages
ErrnoExceptionBlockGuardOs.close40

IoBridge.sendto() has thrown a SocketException

java.net.SocketException
1 frames hidden
libcore.io.IoBridge.sendto
40Web pages
SocketExceptionIoBridge.sendto40

IoBridge.recvfrom() has thrown a SocketException

android.system.ErrnoException
5 frames hidden
libcore.io.IoBridge.recvfrom
40Web pages
SocketExceptionIoBridge.recvfrom40

IoBridge.connect() has thrown a ConnectException

java.net.ConnectException
libcore.io.IoBridge.connect
38Web pages
ConnectExceptionIoBridge.connect38

Streams.readFully() has thrown an EOFException

java.io.EOFException
libcore.io.Streams.readFully
37Web pages
EOFExceptionStreams.readFully37

BlockGuardOs.socket() has thrown an ErrnoException

libcore.io.ErrnoException
1 frames hidden
libcore.io.BlockGuardOs.socket
31Web pages
ErrnoExceptionBlockGuardOs.socket31

IoBridge.maybeThrowAfterRecvfrom() has thrown a SocketException

java.net.SocketException
libcore.io.IoBridge.maybeThrowAfterRecvfrom
30Web pages
SocketExceptionIoBridge.maybeThrowAfterRecvfrom30

IoBridge.socket() has thrown an ErrnoException

libcore.io.ErrnoException
2 frames hidden
libcore.io.IoBridge.socket
29Web pages
ErrnoExceptionIoBridge.socket29

IoBridge.write() has thrown an ErrnoException

libcore.io.ErrnoException
3 frames hidden
libcore.io.IoBridge.write
29Web pages
ErrnoExceptionIoBridge.write29

IoBridge.socket() has thrown a SocketException

libcore.io.ErrnoException
3 frames hidden
libcore.io.IoBridge.socket
28Web pages
SocketExceptionIoBridge.socket28

BlockGuardOs.open() has thrown a StrictMode$StrictModeDiskReadViolation

android.os.StrictMode$StrictModeDiskReadViolation
1 frames hidden
libcore.io.BlockGuardOs.open
27Web pages
StrictMode$StrictModeDiskReadViolationBlockGuardOs.open27

BlockGuardOs.read() has thrown an ErrnoException

libcore.io.ErrnoException
2 frames hidden
libcore.io.BlockGuardOs.read
27Web pages
ErrnoExceptionBlockGuardOs.read27

IoBridge.write() has thrown an IOException

libcore.io.ErrnoException
4 frames hidden
libcore.io.IoBridge.write
26Web pages
IOExceptionIoBridge.write26

IoBridge.sendto() has thrown an ErrnoException

android.system.ErrnoException
3 frames hidden
libcore.io.IoBridge.sendto
26Web pages
ErrnoExceptionIoBridge.sendto26

IoBridge.recvfrom() has thrown a SocketException

java.net.SocketException
1 frames hidden
libcore.io.IoBridge.recvfrom
26Web pages
SocketExceptionIoBridge.recvfrom26
Nothing to list here.
Nothing to list here.
Nothing to list here.