$46 GRAYBYTE WORDPRESS FILE MANAGER $83

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby19/lib64/ruby/1.9.1/rexml/

HOME
Current File : /opt/alt/ruby19/lib64/ruby/1.9.1/rexml//parseexception.rb
module REXML
  class ParseException < RuntimeError
    attr_accessor :source, :parser, :continued_exception

    def initialize( message, source=nil, parser=nil, exception=nil )
      super(message)
      @source = source
      @parser = parser
      @continued_exception = exception
    end

    def to_s
      # Quote the original exception, if there was one
      if @continued_exception
        err = @continued_exception.inspect
        err << "\n"
        err << @continued_exception.backtrace.join("\n")
        err << "\n...\n"
      else
        err = ""
      end

      # Get the stack trace and error message
      err << super

      # Add contextual information
      if @source
        err << "\nLine: #{line}\n"
        err << "Position: #{position}\n"
        err << "Last 80 unconsumed characters:\n"
        err << @source.buffer[0..80].force_encoding("ASCII-8BIT").gsub(/\n/, ' ')
      end

      err
    end

    def position
      @source.current_line[0] if @source and defined? @source.current_line and
      @source.current_line
    end

    def line
      @source.current_line[2] if @source and defined? @source.current_line and
      @source.current_line
    end

    def context
      @source.current_line
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / root
0755
dtd
--
3 Mar 2024 10.48 PM
root / linksafe
0755
formatters
--
3 Mar 2024 10.48 PM
root / linksafe
0755
light
--
3 Mar 2024 10.48 PM
root / linksafe
0755
parsers
--
3 Mar 2024 10.48 PM
root / linksafe
0755
validation
--
3 Mar 2024 10.48 PM
root / linksafe
0755
attlistdecl.rb
1.887 KB
2 Oct 2009 10.45 AM
root / linksafe
0644
attribute.rb
5.395 KB
8 Nov 2010 8.59 PM
root / linksafe
0644
cdata.rb
1.542 KB
19 May 2011 12.07 AM
root / linksafe
0644
child.rb
2.628 KB
19 May 2011 12.07 AM
root / linksafe
0644
comment.rb
2.136 KB
19 May 2011 12.07 AM
root / linksafe
0644
doctype.rb
6.582 KB
7 Dec 2010 12.10 PM
root / linksafe
0644
document.rb
8.278 KB
13 Nov 2014 1.39 PM
root / linksafe
0644
element.rb
43.851 KB
19 May 2011 12.07 AM
root / linksafe
0644
encoding.rb
1.494 KB
2 Mar 2011 3.36 PM
root / linksafe
0644
entity.rb
5.531 KB
13 Nov 2014 1.39 PM
root / linksafe
0644
functions.rb
11.266 KB
13 May 2011 5.54 PM
root / linksafe
0644
instruction.rb
2.009 KB
2 Oct 2009 10.45 AM
root / linksafe
0644
namespace.rb
1.091 KB
2 Oct 2009 10.45 AM
root / linksafe
0644
node.rb
2.134 KB
19 May 2011 12.07 AM
root / linksafe
0644
output.rb
0.383 KB
2 Mar 2011 3.36 PM
root / linksafe
0644
parent.rb
4.327 KB
31 Jan 2010 6.55 AM
root / linksafe
0644
parseexception.rb
1.223 KB
30 Oct 2010 12.10 PM
root / linksafe
0644
quickpath.rb
9.084 KB
19 May 2011 12.07 AM
root / linksafe
0644
rexml.rb
1.648 KB
28 Mar 2013 9.12 AM
root / linksafe
0644
sax2listener.rb
3.6 KB
2 Oct 2009 10.45 AM
root / linksafe
0644
source.rb
7.291 KB
2 Mar 2011 3.36 PM
root / linksafe
0644
streamlistener.rb
3.878 KB
2 Oct 2009 10.45 AM
root / linksafe
0644
syncenumerator.rb
0.669 KB
2 Oct 2009 10.45 AM
root / linksafe
0644
text.rb
13.569 KB
28 Mar 2013 9.12 AM
root / linksafe
0644
undefinednamespaceexception.rb
0.205 KB
16 Nov 2007 1.30 AM
root / linksafe
0644
xmldecl.rb
2.779 KB
2 Mar 2011 3.36 PM
root / linksafe
0644
xmltokens.rb
0.514 KB
5 Apr 2010 9.08 PM
root / linksafe
0644
xpath.rb
3.313 KB
18 May 2011 9.19 PM
root / linksafe
0644
xpath_parser.rb
25.698 KB
11 May 2011 10.56 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF