Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18187 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.1.0
@@ -20,7 +20,7 @@ | |||
require 'uri' | |||
require 'cgi' | |||
class Unauthorized < Exception; end | |||
class Unauthorized < StandardError; end | |||
class ApplicationController < ActionController::Base | |||
include Redmine::I18n |
@@ -20,8 +20,8 @@ | |||
require 'digest/sha1' | |||
require 'redmine/scm/adapters' | |||
class ChangesetNotFound < Exception; end | |||
class InvalidRevisionParam < Exception; end | |||
class ChangesetNotFound < StandardError; end | |||
class InvalidRevisionParam < StandardError; end | |||
class RepositoriesController < ApplicationController | |||
menu_item :repository |
@@ -19,7 +19,7 @@ | |||
# Generic exception for when the AuthSource can not be reached | |||
# (eg. can not connect to the LDAP) | |||
class AuthSourceException < Exception; end | |||
class AuthSourceException < StandardError; end | |||
class AuthSourceTimeoutException < AuthSourceException; end | |||
class AuthSource < ActiveRecord::Base |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
class ScmFetchError < Exception; end | |||
class ScmFetchError < StandardError; end | |||
class Repository < ActiveRecord::Base | |||
include Redmine::Ciphering |
@@ -19,7 +19,7 @@ | |||
module Redmine | |||
module DefaultData | |||
class DataAlreadyLoaded < Exception; end | |||
class DataAlreadyLoaded < StandardError; end | |||
module Loader | |||
include Redmine::I18n |
@@ -21,7 +21,7 @@ module Redmine | |||
module Helpers | |||
# Simple class to handle gantt chart data | |||
class Gantt | |||
class MaxLinesLimitReached < Exception | |||
class MaxLinesLimitReached < StandardError | |||
end | |||
include ERB::Util |
@@ -21,7 +21,7 @@ require 'digest/md5' | |||
module Redmine | |||
module WikiFormatting | |||
class StaleSectionError < Exception; end | |||
class StaleSectionError < StandardError; end | |||
@@formatters = {} | |||