| 118 | } |
| 119 | |
| 120 | FrameListPtr FrameListParameter::getFrameListValue( const StringData *value ) const |
| 121 | { |
| 122 | FrameListPtr frameList = FrameList::parse( value->readable() ); |
| 123 | if ( !m_allowEmptyList && frameList->isInstanceOf( EmptyFrameListTypeId ) ) |
| 124 | { |
| 125 | throw Exception( "Empty frame list not allowed!" ); |
| 126 | } |
| 127 | |
| 128 | return frameList; |
| 129 | } |
| 130 | |
| 131 | FrameListPtr FrameListParameter::getFrameListValue() const |
| 132 | { |
no test coverage detected