com.redhat.rhn.common.hibernate
Class LookupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.redhat.rhn.common.RhnRuntimeException
com.redhat.rhn.common.db.DatabaseException
com.redhat.rhn.common.hibernate.LookupException
- All Implemented Interfaces:
- java.io.Serializable
public class LookupException
- extends DatabaseException
Thrown if the the object couldn't be found, or it multiple objects were found
- See Also:
- Serialized Form
|
Constructor Summary |
LookupException(java.lang.String message)
Constructor |
LookupException(java.lang.String message,
java.lang.Throwable cause)
Constructor |
| 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 |
LookupException
public LookupException(java.lang.String message)
- Constructor
- Parameters:
message - exception message
LookupException
public LookupException(java.lang.String message,
java.lang.Throwable cause)
- Constructor
- Parameters:
message - exception messagecause - 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.)
getLocalizedReason1
public java.lang.String getLocalizedReason1()
- Returns:
- Returns the localizedReason1.
setLocalizedReason1
public void setLocalizedReason1(java.lang.String reason1KeyIn)
- Parameters:
reason1KeyIn - The localizedReason1 to set.
getLocalizedReason2
public java.lang.String getLocalizedReason2()
- Returns:
- Returns the localizedReason2.
setLocalizedReason2
public void setLocalizedReason2(java.lang.String reason2KeyIn)
- Parameters:
reason2KeyIn - The localizedReason2 to set.
getLocalizedTitle
public java.lang.String getLocalizedTitle()
- Returns:
- Returns the localizedTitle.
setLocalizedTitle
public void setLocalizedTitle(java.lang.String titleKeyIn)
- Parameters:
titleKeyIn - The localizedTitle to set.