org.griphyn.cPlanner.code.generator.condor.style
Class CondorStyleFactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.griphyn.common.util.FactoryException
                  extended by org.griphyn.cPlanner.code.generator.condor.style.CondorStyleFactoryException
All Implemented Interfaces:
Serializable

public class CondorStyleFactoryException
extends FactoryException

Class to notify of failures while instantiating Condor Style implementations.

Version:
$Revision: 50 $
Author:
Karan Vahi
See Also:
Serialized Form

Field Summary
static String DEFAULT_NAME
          The default classname that is associated with the exception.
 
Fields inherited from class org.griphyn.common.util.FactoryException
mClassname
 
Constructor Summary
CondorStyleFactoryException(String msg)
          Constructs a CondorStyleFactoryException with no detail message.
CondorStyleFactoryException(String msg, String classname)
          Constructs a CondorStyleFactoryException with the specified detailed message.
CondorStyleFactoryException(String msg, String classname, Throwable cause)
          Constructs a CondorStyleFactoryException with the specified detailed message and a cause.
CondorStyleFactoryException(String msg, Throwable cause)
          Constructs a CondorStyleFactoryException with the specified detailed message and a cause.
 
Method Summary
 
Methods inherited from class org.griphyn.common.util.FactoryException
convertException, convertException, convertException, getClassname
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
The default classname that is associated with the exception.

See Also:
Constant Field Values
Constructor Detail

CondorStyleFactoryException

public CondorStyleFactoryException(String msg)
Constructs a CondorStyleFactoryException with no detail message. The associated classname is set to value specified by DEFAULT_NAME.

Parameters:
msg - the detailed message.
See Also:
DEFAULT_NAME

CondorStyleFactoryException

public CondorStyleFactoryException(String msg,
                                   String classname)
Constructs a CondorStyleFactoryException 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.

CondorStyleFactoryException

public CondorStyleFactoryException(String msg,
                                   Throwable cause)
Constructs a CondorStyleFactoryException with the specified detailed message and a cause. The associated classname is set to value specified by DEFAULT_NAME.

Parameters:
msg - is the detailed message that is to be logged.
cause - is the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.
See Also:
DEFAULT_NAME

CondorStyleFactoryException

public CondorStyleFactoryException(String msg,
                                   String classname,
                                   Throwable cause)
Constructs a CondorStyleFactoryException 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 the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.


Copyright © 2007 The University of Southern California. All Rights Reserved.