Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item1568: forgot to check this in :-(
git-svn-id: http://svn.foswiki.org/branches/Release01x00@3924 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
CrawfordCurrie
authored and
CrawfordCurrie
committed
May 17, 2009
1 parent
036ef03
commit f90d98d
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# See bottom of file for license and copyright information | ||
|
||
=begin TML | ||
---+ package Foswiki::ValidationException | ||
Exception used raise a validation error. See also Foswiki::Validation. | ||
=cut | ||
|
||
package Foswiki::ValidationException; | ||
use Error (); | ||
@ISA = ( 'Error' ); # base class | ||
|
||
use strict; | ||
|
||
=begin TML | ||
---++ ObjectMethod stringify() -> $string | ||
Generate a summary string. This is mainly for debugging. | ||
=cut | ||
|
||
sub stringify { | ||
my $this = shift; | ||
return "ValidationException: Key is invalid or has expired"; | ||
} | ||
|
||
1; | ||
__DATA__ | ||
# Module of Foswiki - The Free and Open Source Wiki, http://foswiki.org/ | ||
# | ||
# Copyright (C) 2009 Foswiki Contributors. All Rights Reserved. | ||
# Foswiki Contributors are listed in the AUTHORS file in the root | ||
# of this distribution. NOTE: Please extend that file, not this notice. | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License | ||
# as published by the Free Software Foundation; either version 2 | ||
# of the License, or (at your option) any later version. For | ||
# more details read LICENSE in the root of this distribution. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
# | ||
# As per the GPL, removal of this notice is prohibited. |