java - Creating a custom exception and throwing it from server -


if create custom runtime exception , throws server application , have swing client catch it, should save exception class both ejb jar , swing application have exception in classpath? create in domain project (it maven) both includes in classpath or what?

i have 3 jars within projects.

  • client
  • api
  • server

both client , server projects depends on api. api jar contain service interfaces , shared data objects.

based on question, have exception within api jar.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -