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:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new PropertiesException without a message.PropertiesException
(String message) Constructs a new PropertiesException with the specified detail message.PropertiesException
(String message, Throwable cause) Constructs a new PropertiesException with the specified detail message and cause.PropertiesException
(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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
-
Constructor Details
-
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
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
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
Constructs a new PropertiesException with the specified detail message and cause.- Parameters:
message
- The detail message.cause
- The cause.
-