Package org.castor.core.util
Class PropertiesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.castor.core.exceptions.CastorRuntimeException
-
- org.castor.core.util.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 org.castor.core.exceptions.CastorRuntimeException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
-
-
-
-
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.
-
-