Class PropertiesException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class PropertiesException
    extends CastorRuntimeException
    PropertiesException is an unchecked exception thrown when properties can not be loaded or if configuration property can't be converted to the requested type.
    Since:
    1.1.3
    Version:
    $Id: Configuration.java,v 1.8 2006/03/08 17:25:52 jens Exp $
    Author:
    Ralf Joachim
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertiesException()
      Constructs a new PropertiesException without a message.
      PropertiesException​(java.lang.String message)
      Constructs a new PropertiesException with the specified detail message.
      PropertiesException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new PropertiesException with the specified detail message and cause.
      PropertiesException​(java.lang.Throwable cause)
      Constructs a new PropertiesException with the specified cause and the detail message of the cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PropertiesException

        public PropertiesException()
        Constructs a new PropertiesException without a message. The cause is not initialized but may subsequently be initialized by a call to initCause(Throwable).
      • PropertiesException

        public PropertiesException​(java.lang.String message)
        Constructs a new PropertiesException with the specified detail message. The cause is not initialized but may subsequently be initialized by a call to initCause(Throwable).
        Parameters:
        message - The detail message.
      • PropertiesException

        public PropertiesException​(java.lang.Throwable cause)
        Constructs a new PropertiesException with the specified cause and the detail message of the cause. This constructor is useful for exceptions that are wrappers for others.
        Parameters:
        cause - The cause.
      • PropertiesException

        public PropertiesException​(java.lang.String message,
                                   java.lang.Throwable cause)
        Constructs a new PropertiesException with the specified detail message and cause.
        Parameters:
        message - The detail message.
        cause - The cause.