kirk.util
Class CharacterFormatException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended bykirk.util.CharacterFormatException
All Implemented Interfaces:
Serializable

public class CharacterFormatException
extends IllegalArgumentException

This class represents an exception that can be thrown during the conversion of a String to a char or Character.

Version:
1
Author:
Berend "Kirk" Wouda
See Also:
Character, Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
CharacterFormatException()
          Constructs a new CharacterFormatException with no message.
CharacterFormatException(String message)
          Constructs a new CharacterFormatException with the given message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharacterFormatException

public CharacterFormatException(String message)
Constructs a new CharacterFormatException with the given message.

Parameters:
message - The message that indicates what was wrong.

CharacterFormatException

public CharacterFormatException()
Constructs a new CharacterFormatException with no message.