Class ReplicaSelectorFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.isi.pegasus.common.util.FactoryException
edu.isi.pegasus.planner.selector.replica.ReplicaSelectorFactoryException
- All Implemented Interfaces:
Serializable
public class ReplicaSelectorFactoryException
extends edu.isi.pegasus.common.util.FactoryException
Class to notify of failures while instantiating ReplicaSelector implementations.
- Version:
- $Revision$
- Author:
- Karan Vahi
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe default classname that is associated with the exception.Fields inherited from class edu.isi.pegasus.common.util.FactoryException
mClassname -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aReplicaSelectorFactoryExceptionwith no detail message.ReplicaSelectorFactoryException(String msg, String classname) Constructs aReplicaSelectorFactoryExceptionwith the specified detailed message.ReplicaSelectorFactoryException(String msg, String classname, Throwable cause) Constructs aReplicaSelectorFactoryExceptionwith the specified detailed message and a cause.ReplicaSelectorFactoryException(String msg, Throwable cause) Constructs aReplicaSelectorFactoryExceptionwith the specified detailed message and a cause. -
Method Summary
Methods inherited from class edu.isi.pegasus.common.util.FactoryException
convertException, convertException, convertException, getClassnameMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DEFAULT_NAME
The default classname that is associated with the exception.- See Also:
-
-
Constructor Details
-
ReplicaSelectorFactoryException
Constructs aReplicaSelectorFactoryExceptionwith no detail message. The associated classname is set to value specified byDEFAULT_NAME.- Parameters:
msg- the detailed message.- See Also:
-
ReplicaSelectorFactoryException
Constructs aReplicaSelectorFactoryExceptionwith the specified detailed message.- Parameters:
msg- is the detailed message.classname- the name of class that was trying to be instantiated or some other signifier like module name.
-
ReplicaSelectorFactoryException
Constructs aReplicaSelectorFactoryExceptionwith the specified detailed message and a cause. The associated classname is set to value specified byDEFAULT_NAME.- Parameters:
msg- is the detailed message that is to be logged.cause- is the cause (which is saved for later retrieval by theThrowable.getCause()method). Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.- See Also:
-
ReplicaSelectorFactoryException
Constructs aReplicaSelectorFactoryExceptionwith the specified detailed message and a cause.- Parameters:
msg- is the detailed message that is to be logged.classname- the name of class that was trying to be instantiated.cause- is the cause (which is saved for later retrieval by theThrowable.getCause()method). Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-