declare namespace java {
    namespace nio {
        namespace file {
            namespace attribute {
                // @ts-ignore
                 class UserPrincipalNotFoundException extends java.io.IOException {
                    /**
                     * Constructs an instance of this class.
                     */
                    // @ts-ignore
                    constructor(name: string)
                    /**
                     * Returns the user principal name if this exception was created with the
                     * user principal name that was not found, otherwise <tt>null</tt>.
                     */
                    // @ts-ignore
                    public getName(): string;
                }
            }
        }
    }
}
