repository.grepcode.com$java$root@jdk$openjdk@6-b14
repository.grepcode.com$java$root@jdk$openjdk@6-b14@java$util$MissingFormatArgumentException.java
file
oh
o
[]
I have been successful in compiling my inventory program:
// Inventory.java part 1
// this program is to calculate the value of the inventory of the Electronics Department's cameras
import java.util.*;
import javax.swing.*;
import java.awt.event.*;
import java.io.*;
public class Inventory
{
public static void main(String[] args)
{
// create Scanner to obtain input from the comma...
Unchecked exception thrown when there is a format specifier which does not
have a corresponding argument or if an argument index refers to an argument
that does not exist.
Unless otherwise specified, passing a null argument to any
method or constructor in this class will cause a java.lang.NullPointerException to be thrown.
Constructs an instance of this class with the unmatched format
specifier.
- Parameters:
s
Format specifier which does not have a corresponding argument
Returns the unmatched format specifier.
- Returns:
- The unmatched format specifier
return "Format specifier '" + s + "'";