@startuml set namespaceSeparator \\ namespace Service { namespace Exception { class SessionException } class Session { + {static} start(): void } } Service\\Exception\\SessionException -up-> Exception note bottom of Service\\Session throws ""Service\Exception\SessionException"" end note @enduml