Skip to content

Commit

Permalink
Item1568: forgot to check this in :-(
Browse files Browse the repository at this point in the history
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.
48 changes: 48 additions & 0 deletions core/lib/Foswiki/ValidationException.pm
@@ -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.

0 comments on commit f90d98d

Please sign in to comment.