Results 1 to 4 of 4
  1. #1
    hedonist is offline Member
    Join Date
    Jun 2009
    Posts
    35
    Rep Power
    0

    Default type of exception?

    What is the name of the exception that can be thrown for "invalid data entry" ?

  2. #2
    devunion is offline Member
    Join Date
    Jun 2008
    Posts
    56
    Rep Power
    0

    Default

    You can create your own exception. Also IllegalArgumentException can be useful in some places.
    Try Controls4J - Advanced Swing Components.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Writing your own exceptions are easy to workon with custom exception types you want to deal within your applications.

  4. #4
    hedonist is offline Member
    Join Date
    Jun 2009
    Posts
    35
    Rep Power
    0

Similar Threads

  1. Interface as a type!
    By guro in forum New To Java
    Replies: 4
    Last Post: 03-10-2009, 07:03 AM
  2. using instanceof to get Object type and parent type?
    By xcallmejudasx in forum New To Java
    Replies: 2
    Last Post: 11-06-2008, 06:24 PM
  3. [SOLVED] Cast string type to int type
    By GilaMonster in forum New To Java
    Replies: 9
    Last Post: 09-17-2008, 10:43 AM
  4. Replies: 1
    Last Post: 03-08-2008, 06:41 PM
  5. is void a type?
    By mary in forum New To Java
    Replies: 3
    Last Post: 08-01-2007, 08:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •