Jessica Sant

Sheriff
+ Follow
since Oct 17, 2001
Jessica likes ...
Android IntelliJ IDE Java
Merit badge: grant badges
For More
http://www.wingedsheep.com
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jessica Sant

much better -- nice Jasper.
13 years ago
I'm going to answer your question in two ways -- 1: to explain why your code doesn't compile, 2: to explain the proper way to write this method.

1: So as for the first part -- why your code doesn't compile:


When you use the "throw" clause, the method you call needs to return an Exception object

"throw new MyException()" in fact returns an Exception object, but you then chain that method with a call to setErrorMessage() which doesn't return anything, and so you get an incompatible Type error.

There are 2 ways you can fix this.
-- have setErrorMessage() return the MyException object.
-- construct and modify the Exception in one line, and throw the exception in the next line.

2- That being said, this isn't the "proper" way to use and define your own exception, a better way would be to define a constructor that takes the error message as an argument:


and then call the exception like this:
13 years ago
You can specify properties based on aspect-type or node-type, this way only properties associated with the particular type or aspect will be displayed. There may be a more dynamic way to do it, but I'm not aware of it, hopefully someone else can pipe in.

one option is to define the custom fields for each aspect or type in your web-client-custom.xml

More information on that method can be found in the Alfresco Wiki: http://wiki.alfresco.com/wiki/Web_Client_Customisation_FAQ
apologies if this has already been posted, but a friend of mine linked this on Twitter and I couldn't stop giggling:

Enjoy!

Star Wars: Retold (by someone who hasn't seen it)
15 years ago
JBoss recently released JBoss 4.2.0 - have you considered using the latest release, rather than 4.0 (released in September 2004)?

Alternatively -- the last release of the 4.0 branch -- is JBoss 4.0.5 and was released last October.

JBoss App Server downloads
16 years ago
http://www.blinkyou.com/codes/flash/squares.swf

I've only played one time so far, but I like.

my score was 5365 with 53 squares
17 years ago
nice
he does a lotta stuff.
run, walk, jump, cry, laugh, scratch, "freak nasty" (the webpage suggested I try that one)
17 years ago
the photographic enhancements bug me.

they take a 10pixel by 10pixel reflection from someone's eye and from that can enhance it to be able to read a license plate number.
17 years ago
http://www.drivl.com/posts/view/494

We read this at the office today and couldn't stop laughing and coming up with other examples of how Hollywood movies always make code and hacking look SO silly on the big screen.
17 years ago
yes, well the big reason I'm vocal about my dislike of BG, is because I know it bugs my husband and some other geeky friends of mine -- so its fun for me

Definitely check out the first two seasons of The 4400. I can't speak to the others, but I liked the first two. Alias is another great series. I watched the first four seasons, I need to watch the last one when it comes out on DVD (if it hasn't already).
17 years ago
boo on Battlestar. My husband loves it, I don't know why. I hate it. Thank goodness for DVR.

We both agree on Heroes though. We've watched every episode so far. I like it.

The 4400 was good the first two seasons, then I lost interest.

I'm hoping Heroes keeps it up. I'm liking it so far.
17 years ago
Thought this was a pretty funny product:

Pawsense

When cats walk or climb on your keyboard, they can enter random commands and data, damage your files, and even crash your computer. This can happen whether you are near the computer or have suddenly been called away from it.

PawSense is a software utility that helps protect your computer from cats. It quickly detects and blocks cat typing, and also helps train your cat to stay off the computer keyboard.


[ October 31, 2006: Message edited by: fred rosenberger ]
17 years ago