<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://valley.egloos.com/rss/style/style.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>이글루스 'exception' 태그 최근글</title>
		<link>http://valley.egloos.com/tag/exception</link>
		<description>exception</description>
		<language>ko</language>
		<pubDate>Thu, 15 Mar 2012 16:10:15 +0900</pubDate>
		<generator>Egloos</generator>
		<item>
	<title><![CDATA[try catch]]></title>
	<link>http://kdo88.egloos.com/5091563</link>
	<guid>http://kdo88.egloos.com/5091563</guid>
	<description>
	<![CDATA[ 
완벽한 예외처리가 불가하다   간혹 예외처리가 되지 않아서 버그 잡기 힘들어질때가 있다고 한다.  0~10%의 확률이라나... -_-;;  하여간 알아두자	]]>
	</description>
	<pubDate>Thu, 15 Mar 2012 16:10:15 +0900</pubDate>
	<dc:creator><![CDATA[dO_O]]></dc:creator>
</item>
<item>
	<title><![CDATA[익셉션헨들러와 링크 레지스터 오프셋]]></title>
	<link>http://ssombong.egloos.com/466141</link>
	<guid>http://ssombong.egloos.com/466141</guid>
	<description>
	<![CDATA[ 
ARM 디벨로퍼 책을 보다 잘 이해가 안되서 검색해보니 레시피에 잘 나와있다.   먼저 인터럽트가 발생하는 시점에 대해서 알아야 한다.답은 인터럽트 마다 다르다.  - Reset 헨들러 : 시스템이 동작하게 되면 자동으로 오는 익셉션이 Reset이다.즉 돌아갈 곳이 없기때문에 상관하지 않아도 된다.  - Undefined instruction 헨들러 lr = pc : 인스트럭션이 정의되지 않은것인지 아닌지 언제 알 수 있을까?명령어를 해서하는 decode 단계일 것이다. 그렇다면 파이프라인에 의해 fetch단계로다음 인스트럭션이 들어온 상태일 것이다. pc는 현재 fetch단계에 있는 인스트럭션의 주소를 가르킨다. lr에는 현재의 pc값이 들어간다.return : pc = lr  - Prefetch abor	]]>
	</description>
	<pubDate>Fri, 10 Feb 2012 16:40:03 +0900</pubDate>
	<dc:creator><![CDATA[ssombong]]></dc:creator>
</item>
<item>
	<title><![CDATA[Exception .!  간단한 예제..!!]]></title>
	<link>http://marcus215.egloos.com/123080</link>
	<guid>http://marcus215.egloos.com/123080</guid>
	<description>
	<![CDATA[ 
   MulBumException.java        public class MulBumException extends Exception {      public MulBumException() {        }      public MulBumException(String msg) {          super(msg);      }      // 오버라이딩.      public String toString() {          return &quot;물범이 진짜 무섭나요?&quot;;      }  }            TestEx2.java  Public class TestEx2 {        private void test() throws MulBumException, Exception {          	]]>
	</description>
	<pubDate>Thu, 08 Sep 2011 17:47:09 +0900</pubDate>
	<dc:creator><![CDATA[태식이가 공부를 하다.!]]></dc:creator>
</item>
<item>
	<title><![CDATA[자바 스트림(Java Stream), 객체를 파일에 쓰고, 읽는 ObjectOutputStream과 ObjectInputStream]]></title>
	<link>http://wpkc.egloos.com/5008366</link>
	<guid>http://wpkc.egloos.com/5008366</guid>
	<description>
	<![CDATA[ 
import java.io.FileNotFoundException ;  import java.io.FileOutputStream ;  import java.io.FileInputStream ;  import java.io.IOException ;  import java.io.ObjectOutputStream ;  import java.io.ObjectInputStream ;    public class ObjectStream {      public static void main(String[] args)     {          FileOutputStream fos = null ;          FileInputStream fis = null ;          ObjectOutputStream oos	]]>
	</description>
	<pubDate>Wed, 27 Jul 2011 11:42:16 +0900</pubDate>
	<dc:creator><![CDATA[케찹만땅]]></dc:creator>
</item>
<item>
	<title><![CDATA[자바 스트림(Java Stream), FileWriter와 FileReader 클래스로 파일에 쓰고, 읽기]]></title>
	<link>http://wpkc.egloos.com/5008361</link>
	<guid>http://wpkc.egloos.com/5008361</guid>
	<description>
	<![CDATA[ 
import java.io.FileReader ;  import java.io.FileWriter ;  import java.io.File ;  import java.io.FileNotFoundException ;  import java.io.IOException ;    public class FileStreamTest {      public static void main(String[] args)     {          File file = new File(&quot;myfile.txt&quot;) ;            try {              if (file.exists()) {                  System.out.println(&quot;파일이 이미 존재합니다&quot;) ;              }  	]]>
	</description>
	<pubDate>Wed, 27 Jul 2011 11:27:03 +0900</pubDate>
	<dc:creator><![CDATA[케찹만땅]]></dc:creator>
</item>
<item>
	<title><![CDATA[[Java] try~catch]]></title>
	<link>http://kiringun.egloos.com/461957</link>
	<guid>http://kiringun.egloos.com/461957</guid>
	<description>
	<![CDATA[ 
try {      //Exception이 발생하는 부분 혹은 발생할 것 같은 부분     //Exception 발생 시 이 부분의 내용은 실행되지 않는다.  } catch(발생하는 Exception) {      //Exception 발생시 처리되는 부분  } finally {      //Exception 발생과는 상관 없이 반드시 실행되어야 하는 부분     //생략해도 된다.  }	]]>
	</description>
	<pubDate>Wed, 27 Apr 2011 22:20:56 +0900</pubDate>
	<dc:creator><![CDATA[기린의 정신줄 잡기 !]]></dc:creator>
</item>
<item>
	<title><![CDATA[[Java]3일차 기초문법 2]]></title>
	<link>http://teahokang.egloos.com/200590</link>
	<guid>http://teahokang.egloos.com/200590</guid>
	<description>
	<![CDATA[ 
조건문 else는 { }&amp;lt;--선언이 없다면 가장 가까운 if문에 걸림실질적으로 else if 구문은 정해지지 않았음 그렇게 보이는 것일뿐   향상된 반복문 forfor (int num : arr) System.out.println(num) : . 배열의 요소들을 차례대로 꺼내어 보여줌.  System.outprintln(num*10) 위와 같은 경우에는 안됨  오류가 있으면 Exception 으로 잡을 수 있음try catch cath finally num = Integer.parseInt(&quot;12&quot;); - 문자열 12를 숫자 12로 변환하여 정수형 자료형에 저장 할 수 있다.	]]>
	</description>
	<pubDate>Thu, 10 Mar 2011 17:05:32 +0900</pubDate>
	<dc:creator><![CDATA[강태호의 Blog]]></dc:creator>
</item>
<item>
	<title><![CDATA[구조적 예외처리(SEH)]]></title>
	<link>http://dakuo.egloos.com/1139835</link>
	<guid>http://dakuo.egloos.com/1139835</guid>
	<description>
	<![CDATA[ 
예외처리 :  개념 : 소스코드를 프로그램의 실제 흐름과 그 흐름에 대한 예외처리 영역을 나누어 작성하는것.   사용법 :  1. 종료 핸들러(Termination Handler) :   예외가 발생하여 프로그램이 정상치 못하게 종료되더라도 메모리 반환등의 문제를 해결하기 위하여 사용   __try {              // 코드 }  __finally {              // 종료 처리 }  __try 블록을 한 줄이라도 실행하게 되면, 반드시 __finally 블록을 실행한다. (참고 : __try 블록과 __finally 블록 사이에는 어느 문장도 올 수 없다. 반드시 __try 와 __finally 둘다 있어야 한다.   예)  #include &amp;lt;stdio.h&amp;gt; #include	]]>
	</description>
	<pubDate>Fri, 26 Nov 2010 21:13:01 +0900</pubDate>
	<dc:creator><![CDATA[dakuo]]></dc:creator>
</item>
<item>
	<title><![CDATA[XStream 이용시 발생하는 오류 몇가지..]]></title>
	<link>http://mystria.egloos.com/4485540</link>
	<guid>http://mystria.egloos.com/4485540</guid>
	<description>
	<![CDATA[ 
com.thoughtworks.xstream.mapper.CannotResolveClassException: XStream의 인스턴스에 alias를 등록했다면 이를 toXML와 fromXML에 동시에 적용시켜야 함. 즉, toXML할때 alias를 등록했는데, fromXML할 때 alias가 없다면 오류 발생!  com.thoughtworks.xstream.converters.ConversionException: List, HashMap을 이용시 개체의 클래스가 String같은 표준(?)클래스가 아닐 때. registerConverter를 함과 동시에 List와 HashMap같은 클래스도 새로 Converter를 정의해야 함  	]]>
	</description>
	<pubDate>Mon, 25 Oct 2010 22:03:59 +0900</pubDate>
	<dc:creator><![CDATA[어디서나 당당하게 걷기]]></dc:creator>
</item>
<item>
	<title><![CDATA[Exception handling 예외처리]]></title>
	<link>http://illnessm.egloos.com/1784993</link>
	<guid>http://illnessm.egloos.com/1784993</guid>
	<description>
	<![CDATA[ 
 의의 - 기존 c에서 이용되었던 if문을 통한 예외처리 또는if(bunmo == 0){printf(&quot;0으로 나눌 수 없습니다!&quot;);continue;}  - setjmp, longjmp등을 통한 예외처리 방식을 대체한다. C의 예외처리 방식에 대한 링크 : setjmp/longjmp용법 - try : 예외가 발생할 만한 부분을 감싼다 - throw : 예외가 발생했을 때 예외 객체(Exception object)를 던진다. try 안에서만 던질 수 있다. 바로 아래쪽 catch문을 찾아서 이동한다. 아래의 코드들은 모두 무시된다. 만약 바로 아래쪽에 catch가 없을 경우 역시나 아래쪽 코드를 무시하고 스택 되감기(stack rewind)를 시행한다. - catch : throw를 통해 던져지는 예외를 받는	]]>
	</description>
	<pubDate>Tue, 17 Aug 2010 02:44:28 +0900</pubDate>
	<dc:creator><![CDATA[예수쟁이]]></dc:creator>
</item>
<item>
	<title><![CDATA[[java] try~catch문을 사용했을 때와 메서드에 throws를 사용했을 때의 차이점]]></title>
	<link>http://hanvic.egloos.com/3299477</link>
	<guid>http://hanvic.egloos.com/3299477</guid>
	<description>
	<![CDATA[ 
메서드 를 선언 할 때 throws를 사용하여 처리를 하게되면 해당 예외상황이 일어났을 때  '기본적인 예외상황 처리'가 수행된 후 프로그램이 종료된다.  그런데  try{ }catch(){ } 를 사용했을 경우에는 프로그램 실행중에 예외상황이 발생하면  catch문을 실행하고 프로그램이 종료되는것을 설정할 수 있다. 즉, 프로그램을 안죽이고 계속 아래구문을 수행하는 것이 가능하다. 물론 프로그램이 종료되도록 수행하는 것도 가능하다.  예제) - try catch 구문 사용 -  public class ExceptionTest1 {  public static void main(String[]args){   int a=10;   int b=0;   int c=0;   try{     c=a/b;   }catc	]]>
	</description>
	<pubDate>Sat, 29 May 2010 13:01:00 +0900</pubDate>
	<dc:creator><![CDATA[세상을 바꾸기 위한 단 한걸음]]></dc:creator>
</item>
<item>
	<title><![CDATA[C# Exception과 관련해서....]]></title>
	<link>http://debop.egloos.com/3657773</link>
	<guid>http://debop.egloos.com/3657773</guid>
	<description>
	<![CDATA[ 
후배 코드에 다음과 같이 사용된 부분이 상당히 많더군요^^  throw new Exception(&quot;Exception is occurred.&quot;);    뭐 이런 식으로 Exception 클래스를 사용했더군요.  MSDN 을 살펴보던가, Exception 관련 글을 보게 되면 다음과 같은 글을 보실 수 있습니다.  1. Exception 클래스 사용하지 마라. 필터링이 안될 가능성이 너무 높다. 2. 가능한 예외를 가장 잘 표현할 Exception 을 사용해라. FileNotFoundException, ArgumentNullException의 의미는 다르죠? 3. 없다면 제품별로 정의하는 것도 좋은 방법입니다. 다만 Base Exception Class를 ApplicationException으로부터 상속 받으라	]]>
	</description>
	<pubDate>Sun, 11 Apr 2010 14:49:05 +0900</pubDate>
	<dc:creator><![CDATA[디밥의 블로그]]></dc:creator>
</item>
<item>
	<title><![CDATA[소프트웨어 인터럽트(예외, 브레이크 포인트)]]></title>
	<link>http://puremon.egloos.com/1530891</link>
	<guid>http://puremon.egloos.com/1530891</guid>
	<description>
	<![CDATA[ 
  __asm { int 3 }      release 모드에서 저걸 사용한다면 프로그램이 뻗어버릴 것이므로 적절히 블럭하길..      #if defined(_MSC_VER) &amp;&amp; defined(_DEBUG)  #define my_assert(exp) do { if ( !(exp) ) { __asm { int 3 } } } while ( 0 )  #else  #define my_assert(exp)  #endif//defined(_MSC_VER) &amp;&amp; defined(_DEBUG)      예전에는 그냥    *(char *)0 = 0;    이런식으로 강제로 Access Violation을 내서 브레이크 걸었는데 헤헤..  은정월씨가 알려준 고마운 팁  - 끝 -	]]>
	</description>
	<pubDate>Thu, 24 Sep 2009 10:36:07 +0900</pubDate>
	<dc:creator><![CDATA[플라밍고님의 이글루]]></dc:creator>
</item>
<item>
	<title><![CDATA[Scatter Loading과 Bootup - __user_initial_stackheap ]]></title>
	<link>http://recipes.egloos.com/5045581</link>
	<guid>http://recipes.egloos.com/5045581</guid>
	<description>
	<![CDATA[ 
<img 
				src="http://thumb.egloos.net/100x76/http://pds13.egloos.com/pds/200907/16/90/c0098890_4a5f0da2aae09.gif"  
				alt="Scatter Loading과 Bootup - __user_initial_.." 
				width="100px"  
				height="76pxpx"
				align="left"
				style="border:1px solid #DDDDDD;margin:0 10px 10px 0px;"
				/> Scatter Loading에 관련해서 이젠 좀 익숙해 졌겠지요. - 과연 - Scatter Loading을 사용하게 되면 몇 가지 주의해야 할 점이 있어요. 쫌 알면 쉬운 거지만, 쫌 모르면 헤맬 만한 이야기에요. 유후~   첫 번째로 ScatterLoading을 사용하게 되면 우리는 우리 나름대로의 Stack과 Heap을 사용하게 되지요. 자동으로 Compiler가 만들어주는 Stack과 Heap은 안 쓴다 구요. &quot;ScatterLoading&quot;편에서 그런 말을 한적이 있지요.    &quot;그런데, 우리가 만들어낸 image의 ZI에 포함되지 않는 여기서의 Stack과 Heap은 도대체 뭐냐! 지금 말하고 있는 메모리 Model이 Default Memory 모델임을 잊지 마시고, 현재 RO, RW, ZI는 Em	]]>
	</description>
	<pubDate>Thu, 16 Jul 2009 20:24:02 +0900</pubDate>
	<dc:creator><![CDATA[임베디드 시스템 개발자 되기 강좌]]></dc:creator>
</item>
<item>
	<title><![CDATA[Reset Handler에서 main까지 (Entry Point)]]></title>
	<link>http://recipes.egloos.com/5044366</link>
	<guid>http://recipes.egloos.com/5044366</guid>
	<description>
	<![CDATA[ 
<img 
				src="http://thumb.egloos.net/100x76/http://pds13.egloos.com/pds/200907/15/90/c0098890_4a5dbf701a589.gif"  
				alt="Reset Handler에서 main까지 (Entry Point)" 
				width="100px"  
				height="76pxpx"
				align="left"
				style="border:1px solid #DDDDDD;margin:0 10px 10px 0px;"
				/> ARM core의 Embedded System에 Power를 넣으면 Reset Exception이 난 것과 같은 의미인데요, ARM core에 최초 Reset신호가 인가되기 때문이에요. 그러니까 SVC mode로 Reset Vector로 PC가 setting 됩니다. 좀 다른 case인 High Vector case가 있긴 하지만, 그건 우리들의 숙제로 남겨두고요. 뭐, 어쨌거나 Reset Vector는 Low Vector인 경우에는 0x0입니다요. 0x0로 PC가 setting되면 그곳에는 Reset Handler로 branch하는 code가 있기 마련이죠. 이전에 보았던 Exception Vector를 한번 볼까요           AREA    INT_VECT, CODE, READONLY        	]]>
	</description>
	<pubDate>Wed, 15 Jul 2009 20:27:34 +0900</pubDate>
	<dc:creator><![CDATA[임베디드 시스템 개발자 되기 강좌]]></dc:creator>
</item>
	</channel>
</rss>

