com.redhat.rhn.common
Class ObjectCreateWrapperException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.redhat.rhn.common.RhnRuntimeException
                  extended by com.redhat.rhn.common.ObjectCreateWrapperException
All Implemented Interfaces:
java.io.Serializable

public class ObjectCreateWrapperException
extends RhnRuntimeException

RuntimeException wrapper for exceptions that come from creating objects using newInstance

See Also:
Serialized Form

Constructor Summary
ObjectCreateWrapperException(java.lang.String message)
          Constructor
ObjectCreateWrapperException(java.lang.String message, java.lang.Throwable cause)
          Constructor
 
Method Summary
 
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
 

Constructor Detail

ObjectCreateWrapperException

public ObjectCreateWrapperException(java.lang.String message)
Constructor

Parameters:
message - exception message

ObjectCreateWrapperException

public ObjectCreateWrapperException(java.lang.String message,
                                    java.lang.Throwable cause)
Constructor

Parameters:
message - exception message
cause - 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.)