private void validateAttributes ( ) { if ( content == null ) { throw new NullContentException ( "RendererBuilder needs content to create Renderer instances" ) ; } if ( parent == null ) { throw new NullParentException ( "RendererBuilder needs a parent to inflate Renderer instances" ) ; } if ( layoutInflater == null ) { throw new NullLayoutInflaterException ( "RendererBuilder needs a LayoutInflater to inflate Renderer instances" ) ; } }
Throws one RendererException if the content parent or layoutInflater are null .