Class SiteSelectorFactoryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.isi.pegasus.common.util.FactoryException
-
- edu.isi.pegasus.planner.selector.site.SiteSelectorFactoryException
-
- All Implemented Interfaces:
java.io.Serializable
public class SiteSelectorFactoryException extends edu.isi.pegasus.common.util.FactoryException
Class to notify of failures while instantiating SiteSelector implementations.- Version:
- $Revision$
- Author:
- Karan Vahi
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_NAME
The default classname that is associated with the exception.
-
Constructor Summary
Constructors Constructor Description SiteSelectorFactoryException(java.lang.String msg)
Constructs aSiteSelectorFactoryException
with no detail message.SiteSelectorFactoryException(java.lang.String msg, java.lang.String classname)
Constructs aSiteSelectorFactoryException
with the specified detailed message.SiteSelectorFactoryException(java.lang.String msg, java.lang.String classname, java.lang.Throwable cause)
Constructs aSiteSelectorFactoryException
with the specified detailed message and a cause.SiteSelectorFactoryException(java.lang.String msg, java.lang.Throwable cause)
Constructs aSiteSelectorFactoryException
with the specified detailed message and a cause.
-
Method Summary
-
Methods inherited from class edu.isi.pegasus.common.util.FactoryException
convertException, convertException, convertException, getClassname
-
-
-
-
Field Detail
-
DEFAULT_NAME
public static final java.lang.String DEFAULT_NAME
The default classname that is associated with the exception.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SiteSelectorFactoryException
public SiteSelectorFactoryException(java.lang.String msg)
Constructs aSiteSelectorFactoryException
with no detail message. The associated classname is set to value specified byDEFAULT_NAME
.- Parameters:
msg
- the detailed message.- See Also:
DEFAULT_NAME
-
SiteSelectorFactoryException
public SiteSelectorFactoryException(java.lang.String msg, java.lang.String classname)
Constructs aSiteSelectorFactoryException
with 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.
-
SiteSelectorFactoryException
public SiteSelectorFactoryException(java.lang.String msg, java.lang.Throwable cause)
Constructs aSiteSelectorFactoryException
with 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). Anull
value is permitted, and indicates that the cause is nonexistent or unknown.- See Also:
DEFAULT_NAME
-
SiteSelectorFactoryException
public SiteSelectorFactoryException(java.lang.String msg, java.lang.String classname, java.lang.Throwable cause)
Constructs aSiteSelectorFactoryException
with 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). Anull
value is permitted, and indicates that the cause is nonexistent or unknown.
-
-