com.ibm.ram.common.data.exception
Class InvalidRatingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.ram.common.data.exception.InvalidRatingException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidRatingException
- extends java.lang.Exception
Thrown when a rating value is invalid
- Since:
- 7.1
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidRatingException
public InvalidRatingException(int rating,
java.lang.String message)
- Since:
- 7.1
InvalidRatingException
public InvalidRatingException()
getRating
public int getRating()
- Returns:
- Returns the rating.
- Since:
- 7.1
setRating
public void setRating(int rating)
- Parameters:
rating - The rating to set.- Since:
- 7.1
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable
- Returns:
- Returns the message.
- Since:
- 7.1
setMessage
public void setMessage(java.lang.String message)
- Parameters:
message - The message to set.- Since:
- 7.1