DeleteOwnIdentityPage: When asking the user for confirmation, display the unique nickname, not just the nickname:
- Users might have multiple own identities with the same nickname, so displaying the unique version (= contains part of the unique identity ID) prevents mixup.
DeleteOwnIdentityPage: Adapt to use cookie session management.
- Part of resolving https://bugs.freenetproject.org/view.php?id=6067
Add and use WebPageImpl constructor which does not throw RedirectException:
- Pages which don't require a session can use this constructor with the advantage of not having a never-thrown RedirectException in their throws-declaration.
- This simplifies adding those pages to other pages because you don't have to catch the never-happening RedirectException
- Primary usecase which made me implement this: When you catch an exception while make()ing a page, you typically want to display it using "new ErrorPage(mToadlet, mRequest, mContext, e).addToPage(this);". Without this commit, the constructor of ErrorPage would possibly have declared throwing a RedirectException which you then would have to catch. That was rather stupid, you don't want error-handling stuff to throw on its own.
- This commit adapts all pages which have used the old constructor in a way which would have never thrown to use the new, non-throwing constructor. Also, it removes try/catch blocks which now are unneeded.
- JavaDoc is also added to ErrorPage which gives an example of how to use it.