spcp7.imagegallery.abstractionlayer.exception
Class RangeNotValidException
java.lang.Object
java.lang.Throwable
java.lang.Exception
spcp7.imagegallery.abstractionlayer.exception.RangeNotValidException
- All Implemented Interfaces:
- java.io.Serializable
public class RangeNotValidException
- extends java.lang.Exception
This exception should be thrown hen a provided range with upper and lower
borders is not valid.
- Author:
- Phillip Merensky
- See Also:
Exception,
Serialized Form
| 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 |
RangeNotValidException
public RangeNotValidException(int rangeFrom,
int rangeTo)
- Parameters:
rangeFrom - the violating lower border.rangeTo - the violating upper border.
RangeNotValidException
public RangeNotValidException(int rangeFrom,
int rangeTo,
java.lang.String message)
- Parameters:
rangeFrom - the violating lower border.rangeTo - the violating upper border.message -
RangeNotValidException
public RangeNotValidException(int rangeFrom,
int rangeTo,
java.lang.Throwable cause)
- Parameters:
rangeFrom - the violating lower border.rangeTo - the violating upper border.cause -
RangeNotValidException
public RangeNotValidException(int rangeFrom,
int rangeTo,
java.lang.String message,
java.lang.Throwable cause)
- Parameters:
rangeFrom - the violating lower border.rangeTo - the violating upper border.message - cause -
getRangeFrom
public int getRangeFrom()
- Returns:
- the violating lower border.
getRangeTo
public int getRangeTo()
- Returns:
- he violating upper border.
Copyright © 2008. All Rights Reserved.