Cannot declare an interface or outer class to be 'private'
The compiler detected use of the modifier private in an outer class or interface declaration. This modifier may only be used with fields, methods, and inner class declarations.
The following example illustrates this error:
private class Simple {
// error: a class cannot be 'private'
}