글쓴 사람
        mijin (twomyou at naver.com)
        홈페이지
        
        첨부 파일
        
             
        
        
        
            
            
            
                
                    
                    
                    
                             try
            {
                throw new NullReferenceException("test");
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
 
try~catch문은 예외처리로 다른 예외처리는 catch가 잡히는데
NullRefereceExecption 같은경우 catch로 잡히기 전에 이 예외형식이 throw되면 중단으로 찍히고 프로그램이 죽습니다.
NullReferenceExecption은 catch가 안되는 예외인가요?
        
        
                    
                    
                    
                    
                    
    
                    
                    
                    
                    
                    
                
                    [최초 등록일: ]
                    [최종 수정일: 11/21/2021]