Uses of Class java.util.NoSuchElementException

Uses in package gnu.java.util.regex

Methods which throw type java.util.NoSuchElementException

REMatch
Returns the next match in the input text.

Uses in package java.util

Classes derived from java.util.NoSuchElementException

class
Thrown when a Scanner instance encounters a mismatch between the input data and the pattern it is trying to match it against.

Methods which throw type java.util.NoSuchElementException

String
Tries to find the pattern in the current line.
String
Uses the current delimiter to find the next string in the buffer.
String
Scanner.next(String pattern)
Tries to match the buffer with the given pattern.
String
Scanner.next(Pattern pattern)
Tries to match the buffer with the given pattern.
BigDecimal
Tries to interpret the next string as a BigDecimal value.
BigInteger
Tries to interpret the next string as a BigInteger value.
BigInteger
Tries to interpret the next string as a BigInteger value with the given radix.
boolean
Tries to interpret the next string to the delimiter as a boolean value, ignoring case.
byte
Tries to interpret the next string as a byte value.
byte
Scanner.nextByte(int radix)
Tries to interpret the next string as a byte value with the given radix.
double
Tries to interpret the next string as a double value.
Object
This does the same as nextTokens.
float
Tries to interpret the next string as a double value, and then casts down to float.
int
Tries to interpret the next string as an int value.
int
Scanner.nextInt(int radix)
Tries to interpret the next string as an int value with the given radix.
String
Tries to match the system line seperator, and returns the current line.
long
Tries to interpret the next string as a long value.
long
Scanner.nextLong(int radix)
Tries to interpret the next string as a long value with the given radix.
short
Tries to interpret the next string as a short value.
short
Scanner.nextShort(int radix)
Tries to interpret the next string as a short value with the given radix.
String
Returns the nextToken of the string.
String
Returns the nextToken, changing the delimiter set to the given delim.
Scanner
Scanner.skip(Pattern pattern)
Skips the given pattern.

Uses in package gnu.javax.net.ssl.provider

Methods which throw type java.util.NoSuchElementException

byte[]
CertificateURL.URLAndOptionalHash
CipherSuite
CertificateRequest.ClientCertificateType
Obtain the next element in the list in the forward direction.
CompressionMethod
Extension
Obtain the next element in the list in the forward direction.
ServerNameList.ServerName
TrustedAuthorities.TrustedAuthority
X500Principal
Obtain the next element in the list in the forward direction.
CipherSuite
CertificateRequest.ClientCertificateType
Obtain the next element in the list in the reverse direction.
CompressionMethod
Extension
Obtain the next element in the list in the reverse direction.
X500Principal
Obtain the next element in the list in the reverse direction.