com.redhat.rhn.common.util
Class MethodNotStaticException

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.util.MethodNotStaticException
All Implemented Interfaces:
java.io.Serializable

public class MethodNotStaticException
extends RhnRuntimeException

Method isn't static, but tried to execute as a static method.

See Also:
Serialized Form

Constructor Summary
MethodNotStaticException(java.lang.String message)
          Constructor exception message
MethodNotStaticException(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

MethodNotStaticException

public MethodNotStaticException(java.lang.String message)
Constructor exception message

Parameters:
message - exception message

MethodNotStaticException

public MethodNotStaticException(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.)