|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.degreedays.api.DegreeDaysApiException
net.degreedays.api.data.DataTransformException
public final class DataTransformException
Indicates that this client library could not transform a set of data into one with a different breakdown.
This is part of the mechanism by which this client library can transform data into different breakdowns. These transformations are done locally, rather than going through the API servers.
Generally it only makes sense to attempt to transform daily data
into data with a different Breakdown
. Provided it covers the required
period in time, daily data can be summed into weekly, monthly, yearly, or
average data. If a transformation is not possible, this exception will
result.
To transform data locally, use DatedDataSet.transformToDated(net.degreedays.api.data.DatedBreakdown)
and
DatedDataSet.transformToAverage(net.degreedays.api.data.AverageBreakdown)
.
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |