Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

String Too Long Exception

Tue May 05, 2009 1:50 pm

Design and implement a program that creates an exception class called StringTooLongException, designed to be thrown when a string is discovered that has too many characters in it. In the main driver of the program, read strings from the user until the user enters "done". If a string is entered that has too many characters, say 20, throw the exception. Allow the thrown exception to terminate the program.



Post a reply
  Related Posts  to : String Too Long Exception
 Long files name     -  
 Sorry for long absence     -  
 check if string start with a specific sub-string in PHP     -  
 Splitting a String Based on a Found String     -  
 recursive string reversal- reverse string     -  
 check if string ends with specific sub-string in php     -  
 Out of Bounds exception     -  
 Exception is not clear     -  
 Exception handling     -  
 String token for string split     -