OK pak akan saya coba
On 4/15/06, johan max <[EMAIL PROTECTED]> wrote:
> Ya tinggal turunkan aja dari class exception
> contoh
> class myexception
> inherits exception
> public sub new ( pStrMessage as string)
> mybase.new(pStrErrMsg)
> end sub
> end class
>
> yang manggil
>
> try
>
> if something then throw new myexception("HAHAHA")
>
> catch ex as myexception
> msgbox(ex.message)
> catch ex as exception
> dosomethingelse
> end try
>
> --- PALUARED <[EMAIL PROTECTED]> wrote:
>
> > Dear All,
> >
> >
> > bisa gak tya klo error yang di VB.net di definisikan
> > berdasarkan kesalahannya
> > misalkan kayak duplikat key
> >
> > klo di VB khan bisa di definisikan berdasarkan error
> > numbernya
> > jadi bisa message nya bisa di definisikan
> > berdasarkan error numbernya
> >
> > klo di vb.nertnya gimana ya... klo yang pakek
> >
> > try
> > catch ex as exception
> > end try
> >
> > disitu untuk user yang awam khan agak susak
> > jadi saya ingin messagenya itu bisa di sesuaikan
> > dengan user yang awam?
> >
> >
> >
> > thz in advance
> > --
> > Regards,
> > PALUARED
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> Wahana Programmer Groups Links
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Regards,
PALUARED
http://paluared.coconia.net/
Wahana Programmer Groups Links
<*> Untuk mengunjungi sponsor milis ini, klik link berikut:
http://wahanaprogrammer.net
<*> Untuk menghubungi owner milis ini, kirim email ke:
[EMAIL PROTECTED]
<*> Konsultasi pemrogramman bisa chat disini:
Yahoo! Messenger: wahanaprogrammer
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmer-VB/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/