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.open()342

BlockGuardOs.open() has thrown an ErrnoException

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

IoBridge.open() has thrown an ErrnoException

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

BlockGuardOs.open() has thrown an ErrnoException

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

IoBridge.open() has thrown a FileNotFoundException

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

IoBridge.open() has thrown an ErrnoException

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

IoBridge.open() has thrown a FileNotFoundException

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

IoBridge.open() has thrown a FileNotFoundException

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

IoBridge.connect() has thrown a NetworkOnMainThreadException

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

IoBridge.connectErrno() has thrown a SocketTimeoutException

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

You must catch the SocketTimeoutException

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

BlockGuardOs.connect() has thrown an ErrnoException

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

IoBridge.connect() has thrown an ErrnoException

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

Posix.recvfrom() has thrown a SocketException

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

IoBridge.recvfrom() has thrown a SocketException

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

IoBridge.connect() has thrown a ConnectException

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

IoBridge.recvfrom() has thrown a NetworkOnMainThreadException

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

You must to handle the SocketTimeoutException

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

IoBridge.connect() has thrown an ErrnoException

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

BlockGuardOs.recvfrom() has thrown an ErrnoException

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

IoBridge.connect() has thrown a ConnectException

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

IoBridge.recvfrom() has thrown an ErrnoException

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

IoBridge.recvfrom() has thrown a SocketException

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

Streams.readAsciiLine() has thrown an EOFException

java.io.EOFException
libcore.io.Streams.readAsciiLine
57Web pages
EOFExceptionStreams.readAsciiLine()57

ForwardingOs.getaddrinfo() has thrown a GaiException

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

BlockGuardOs.sendto() has thrown an ErrnoException

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

You must handle SocketTimeOutExceptions during network calls

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

IoBridge.sendto() has thrown an ErrnoException

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

Posix.getaddrinfo() has thrown a GaiException

libcore.io.ErrnoException
libcore.io.Posix.getaddrinfo
46Web pages
GaiExceptionPosix.getaddrinfo()46

IoBridge.maybeThrowAfterSendto() has thrown a SocketException

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

IoBridge.recvfrom() has thrown an ErrnoException

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

IoBridge.isConnected() has thrown a ConnectException

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

IoBridge.sendto() has thrown a SocketException

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

BlockGuardOs.read() has thrown an ErrnoException

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

IoBridge.isConnected() has thrown a ConnectException

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

BlockGuardOs.close() has thrown an ErrnoException

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

IoBridge.sendto() has thrown a SocketException

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

IoBridge.recvfrom() has thrown a SocketException

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

IoBridge.connect() has thrown a ConnectException

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

Streams.readFully() has thrown an EOFException

java.io.EOFException
libcore.io.Streams.readFully
37Web pages
EOFExceptionStreams.readFully()37

BlockGuardOs.socket() has thrown an ErrnoException

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

IoBridge.maybeThrowAfterRecvfrom() has thrown a SocketException

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

IoBridge.socket() has thrown an ErrnoException

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

IoBridge.write() has thrown an ErrnoException

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

IoBridge.socket() has thrown a SocketException

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

BlockGuardOs.open() has thrown a StrictMode$StrictModeDiskReadViolation

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

BlockGuardOs.read() has thrown an ErrnoException

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

IoBridge.write() has thrown an IOException

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

IoBridge.sendto() has thrown an ErrnoException

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

IoBridge.recvfrom() has thrown a SocketException

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