In this section we will discuss about the javax.swing.text.BadLocationException class diagram in Java.
This class extends the java.lang.Exception class. BadLocationException exception is generated when tried to locate such location which doesn't exist. A class diagram of this exception class is given below :
|BadLocationException(String s, int offs)||This constructor creates an object of BadLocationException class where the
argument 's' specifies that what was wrong with arguments and the argument
'offs' specifies that the offset inside the document.
Syntax : public BadLocationException(String s, int offs)
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: December 27, 2012 If you enjoyed this post then why not add us on Google+? Add us to your Circles