10-20-2008
Oops
Hi All,
Can any one please differenciate between the Data Abstraction and Encapsulation? If possible, with code.
Thanks in Advance,
Naga
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Solaris 2.6, using CDE:
agh. I accidentally set an ugly palette as my Home Session. The problem is, when I change the palette back to Default, I am informed that my change will be apparent in my next session. But when I log out and in, it's still the Ugly Palette. Doesn't matter if I set the... (1 Reply)
Discussion started by: kristy
1 Replies
2. UNIX for Advanced & Expert Users
When ever i mount any of my 2 scsi cdroms, I get a kernel crash with the folfollowing oops kernel output.
I understand that it is impossible to anwser my question WHY but could you give me some advice where i should look to debug the problem or advice me some tools to detect what might be... (3 Replies)
Discussion started by: progressdll
3 Replies
3. Solaris
I have directory/dns server running sparc solaris 9.
while troubleshooting another issue, i overwrote the aliases file on accident.
my question is: is there any way to revert this?
any help super appreciated...especially since this a production box! (2 Replies)
Discussion started by: JeepResQ
2 Replies
4. Ubuntu
I've been tearing my hair out over this: vsftp does not work on any of my RedHat Server 5.x systems - I keep getting a variation on 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp or 500 OOPS: cannot locate user entry:nobody (different errors on different systems). I spent... (2 Replies)
Discussion started by: thomn8r
2 Replies
5. UNIX for Dummies Questions & Answers
I can belive I really did this... chmod 777 /home :eek:
I have my /home directory synced to another machine.
Can anyone tell me how to get the permissions from
back up server /home to production server /home
It's important that I dont over write the files on the... (1 Reply)
Discussion started by: shunter63
1 Replies
6. Linux
I've been fighting this for about a year: vsftp does not work on any of my RedHat Server 5.x systems - I keep getting a variation on 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp or 500 OOPS: cannot locate user entry:nobody (different errors on different systems). I spent... (0 Replies)
Discussion started by: thomn8r
0 Replies
7. Programming
hello,everyone,I'm reading LDD3.Topics about oops,it said the code bellow would cause a fault condition because "this method copies a string to a local variable,unfortunately,the string is longer than the destination array".Well,hard to understand....Is that right?I thought the fault should be... (1 Reply)
Discussion started by: homeboy
1 Replies
8. Ubuntu
Hi...I'm new to Linux and was working on a home server. I have it operational with Samba Share as my NAS system. Unfortunately, while I was on Webmin I changed the Logical Volume Group Name and now I can't find the data I had saved on my Samba Server.
Can anyone help me recover those files?
... (0 Replies)
Discussion started by: pangil
0 Replies
LEARN ABOUT DEBIAN
mojo::exception
Mojo::Exception(3pm) User Contributed Perl Documentation Mojo::Exception(3pm)
NAME
Mojo::Exception - Exceptions with context
SYNOPSIS
use Mojo::Exception;
my $e = Mojo::Exception->new;
DESCRIPTION
Mojo::Exception is a container for exceptions with context information.
ATTRIBUTES
Mojo::Exception implements the following attributes.
"frames"
my $frames = $e->frames;
$e = $e->frames($frames);
Stacktrace.
"line"
my $line = $e->line;
$e = $e->line([3, 'foo']);
The line where the exception occured.
"lines_after"
my $lines = $e->lines_after;
$e = $e->lines_after([[1, 'bar'], [2, 'baz']]);
Lines after the line where the exception occured.
"lines_before"
my $lines = $e->lines_before;
$e = $e->lines_before([[4, 'bar'], [5, 'baz']]);
Lines before the line where the exception occured.
"message"
my $message = $e->message;
$e = $e->message('Oops!');
Exception message.
"raw_message"
my $message = $e->raw_message;
$e = $e->raw_message('Oops!');
Raw unprocessed exception message.
"verbose"
my $verbose = $e->verbose;
$e = $e->verbose(1);
Activate verbose rendering, defaults to the value of "MOJO_EXCEPTION_VERBOSE" or 0.
METHODS
Mojo::Exception inherits all methods from Mojo::Base and implements the following new ones.
"new"
my $e = Mojo::Exception->new('Oops!');
my $e = Mojo::Exception->new('Oops!', $files, $name);
Construct a new Mojo::Exception object.
"throw"
Mojo::Exception->throw('Oops!');
Mojo::Exception->throw('Oops!', $files, $name);
Throw exception with stacktrace.
"to_string"
my $string = $e->to_string;
my $string = "$e";
Render exception with context.
"trace"
$e = $e->trace;
$e = $e->trace(2);
Store stacktrace.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Exception(3pm)